pub enum TypeMode {
Owned,
AllBorrowed(&'static str),
LeafBorrowed(&'static str),
HandlesBorrowed(&'static str),
}
Variants
Owned
AllBorrowed(&'static str)
LeafBorrowed(&'static str)
HandlesBorrowed(&'static str)
Trait Implementations
sourceimpl PartialEq<TypeMode> for TypeMode
impl PartialEq<TypeMode> for TypeMode
impl Copy for TypeMode
impl StructuralPartialEq for TypeMode
Auto Trait Implementations
impl RefUnwindSafe for TypeMode
impl Send for TypeMode
impl Sync for TypeMode
impl Unpin for TypeMode
impl UnwindSafe for TypeMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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