pub enum Trivial {}
Expand description
A type with trivial move constructor and no destructor, which can therefore be owned and moved around in Rust code without requiring indirection.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Trivial
impl RefUnwindSafe for Trivial
impl Send for Trivial
impl Sync for Trivial
impl Unpin for Trivial
impl UnwindSafe for Trivial
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