pub struct VTableData {
pub offset: isize,
pub vtable: *const (),
}Expand description
The data structure generated by the #[vptr] macro
You should normaly not use directly this struct
Fields§
§offset: isizeOffset, in byte, of the VPtr field within the struct
vtable: *const ()Pointer to the actual vtable generated by rust (i.e., the second pointer in a TraitObject, or core::raw::TraitObject::vtable)
Trait Implementations§
Source§impl Hash for VTableData
impl Hash for VTableData
Source§impl PartialEq for VTableData
impl PartialEq for VTableData
Source§impl PartialOrd for VTableData
impl PartialOrd for VTableData
impl Eq for VTableData
impl StructuralPartialEq for VTableData
impl Sync for VTableData
Auto Trait Implementations§
impl Freeze for VTableData
impl RefUnwindSafe for VTableData
impl !Send for VTableData
impl Unpin for VTableData
impl UnwindSafe for VTableData
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