pub struct TraitObject {
pub vtable: &'static (),
}Expand description
Meta data for a trait object
Fields§
§vtable: &'static ()Address of vtable
Trait Implementations§
Source§impl Clone for TraitObject
impl Clone for TraitObject
Source§fn clone(&self) -> TraitObject
fn clone(&self) -> TraitObject
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TraitObject
impl Debug for TraitObject
Source§impl PartialEq for TraitObject
impl PartialEq for TraitObject
impl Copy for TraitObject
impl Eq for TraitObject
impl StructuralPartialEq for TraitObject
Auto Trait Implementations§
impl Freeze for TraitObject
impl RefUnwindSafe for TraitObject
impl Send for TraitObject
impl Sync for TraitObject
impl Unpin for TraitObject
impl UnwindSafe for TraitObject
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Type for Twhere
T: ?Sized,
impl<T> Type for Twhere
T: ?Sized,
Source§default fn dangling(t: <T as Type>::Meta) -> NonNull<T>
default fn dangling(t: <T as Type>::Meta) -> NonNull<T>
Create a dangling non-null
*const Self with the provided Self::Meta.