pub struct ExistentialPack<Interface> { /* private fields */ }Expand description
Existential pack: hides the type index, exposing only the interface type.
This models ∃ α, value : α where the type is erased at the boundary.
Implementations§
Source§impl<Interface: Clone> ExistentialPack<Interface>
impl<Interface: Clone> ExistentialPack<Interface>
Auto Trait Implementations§
impl<Interface> Freeze for ExistentialPack<Interface>where
Interface: Freeze,
impl<Interface> !RefUnwindSafe for ExistentialPack<Interface>
impl<Interface> Send for ExistentialPack<Interface>where
Interface: Send,
impl<Interface> Sync for ExistentialPack<Interface>where
Interface: Sync,
impl<Interface> Unpin for ExistentialPack<Interface>where
Interface: Unpin,
impl<Interface> UnsafeUnpin for ExistentialPack<Interface>where
Interface: UnsafeUnpin,
impl<Interface> !UnwindSafe for ExistentialPack<Interface>
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