pub struct Owned { /* private fields */ }
Expand description
A type used to mark that a struct owns the object(s) it contains, so it has the sole references to them.
Trait Implementations§
source§impl Ord for Owned
impl Ord for Owned
source§impl PartialEq<Owned> for Owned
impl PartialEq<Owned> for Owned
source§impl PartialOrd<Owned> for Owned
impl PartialOrd<Owned> for Owned
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Owned
impl Eq for Owned
impl Ownership for Owned
impl StructuralEq for Owned
impl StructuralPartialEq for Owned
Auto Trait Implementations§
impl RefUnwindSafe for Owned
impl Send for Owned
impl Sync for Owned
impl Unpin for Owned
impl UnwindSafe for Owned
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