#[repr(C)]pub struct TraitObject {
pub data: *mut c_void,
pub vtable: *mut c_void,
}Fields§
§data: *mut c_void§vtable: *mut c_voidTrait 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 (const: unstable) · 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
impl Copy 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 UnsafeUnpin 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