pub struct InterfaceEntry<T> { /* private fields */ }Expand description
An interface a Rust value is exposed through: its vtable and the test for the identifiers it answers to (its own and those of its bases).
Implementations§
Source§impl<T> InterfaceEntry<T>
impl<T> InterfaceEntry<T>
Sourcepub fn of<I: ImplementedBy<T>>() -> InterfaceEntry<T>
pub fn of<I: ImplementedBy<T>>() -> InterfaceEntry<T>
The entry of interface I, which T implements.
Auto Trait Implementations§
impl<T> !Send for InterfaceEntry<T>
impl<T> !Sync for InterfaceEntry<T>
impl<T> Freeze for InterfaceEntry<T>
impl<T> RefUnwindSafe for InterfaceEntry<T>
impl<T> Unpin for InterfaceEntry<T>
impl<T> UnsafeUnpin for InterfaceEntry<T>
impl<T> UnwindSafe for InterfaceEntry<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