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 RefUnwindSafe for Trivial
impl Send for Trivial
impl Sync for Trivial
impl Unpin for Trivial
impl UnwindSafe for Trivial
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more