pub enum Ownership {
Owned,
Ref,
RefMut,
}
Variants
Owned
Ref
RefMut
Implementations
Trait Implementations
sourceimpl PartialEq<Ownership> for Ownership
impl PartialEq<Ownership> for Ownership
impl Copy for Ownership
impl Eq for Ownership
impl StructuralEq for Ownership
impl StructuralPartialEq for Ownership
Auto Trait Implementations
impl RefUnwindSafe for Ownership
impl Send for Ownership
impl Sync for Ownership
impl Unpin for Ownership
impl UnwindSafe for Ownership
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