#[non_exhaustive]pub struct TraitImpl<T>where
T: ?Sized,{ /* private fields */ }๐ฌThis is a nightly-only experimental API. (
type_info #146922)Expand description
Info of a trait implementation, you can retrieve the vtable with Self::get_vtable
Implementationsยง
Sourceยงimpl<T> TraitImpl<T>where
T: ?Sized,
impl<T> TraitImpl<T>where
T: ?Sized,
Sourcepub const fn get_vtable(&self) -> DynMetadata<T>
๐ฌThis is a nightly-only experimental API. (type_info #146922)
pub const fn get_vtable(&self) -> DynMetadata<T>
type_info #146922)Gets the raw vtable for type reflection mapping
Trait Implementationsยง
impl<T> Eq for TraitImpl<T>
impl<T> StructuralPartialEq for TraitImpl<T>where
T: ?Sized,
Auto Trait Implementationsยง
impl<T> Freeze for TraitImpl<T>where
T: ?Sized,
impl<T> !RefUnwindSafe for TraitImpl<T>
impl<T> Send for TraitImpl<T>where
T: ?Sized,
impl<T> Sync for TraitImpl<T>where
T: ?Sized,
impl<T> Unpin for TraitImpl<T>where
T: ?Sized,
impl<T> !UnsafeUnpin for TraitImpl<T>
impl<T> !UnwindSafe for TraitImpl<T>
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