pub struct NoBases;Expand description
A source that has nothing. The right one for a self-contained pack, and it makes “this pack was thin” an error rather than a silent success.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NoBases
impl RefUnwindSafe for NoBases
impl Send for NoBases
impl Sync for NoBases
impl Unpin for NoBases
impl UnsafeUnpin for NoBases
impl UnwindSafe for NoBases
Blanket Implementations§
impl<T> Allocation for T
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