#[repr(C)]pub struct TraitDispatchEntry {
pub concrete_tag: mx_tag,
pub trait_tag: mx_tag,
pub vtable: *const c_void,
}Expand description
Trait dispatch entry mapping (concrete_tag, trait_tag) → vtable.
Fields§
§concrete_tag: mx_tagTag identifying the concrete type.
trait_tag: mx_tagTag identifying the trait interface.
vtable: *const c_voidPointer to the trait’s vtable (cast from &'static SomeVTable).
Trait Implementations§
impl Send for TraitDispatchEntry
impl Sync for TraitDispatchEntry
Auto Trait Implementations§
impl Freeze for TraitDispatchEntry
impl RefUnwindSafe for TraitDispatchEntry
impl Unpin for TraitDispatchEntry
impl UnsafeUnpin for TraitDispatchEntry
impl UnwindSafe for TraitDispatchEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more