Struct reference_counted_singleton::RCSRef
source · pub struct RCSRef<'t, T> { /* private fields */ }
Expand description
Read-only counted reference to an instance of RefCountedSingleton
.
Trait Implementations§
source§impl<'t, T: Ord> Ord for RCSRef<'t, T>
impl<'t, T: Ord> Ord for RCSRef<'t, T>
source§impl<'t, T: PartialEq> PartialEq for RCSRef<'t, T>
impl<'t, T: PartialEq> PartialEq for RCSRef<'t, T>
source§impl<'t, T: PartialOrd> PartialOrd for RCSRef<'t, T>
impl<'t, T: PartialOrd> PartialOrd for RCSRef<'t, T>
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<'t, T: Eq> Eq for RCSRef<'t, T>
Auto Trait Implementations§
impl<'t, T> Freeze for RCSRef<'t, T>
impl<'t, T> RefUnwindSafe for RCSRef<'t, T>where
T: RefUnwindSafe,
impl<'t, T> Send for RCSRef<'t, T>
impl<'t, T> Sync for RCSRef<'t, T>
impl<'t, T> Unpin for RCSRef<'t, T>
impl<'t, T> UnwindSafe for RCSRef<'t, T>where
T: RefUnwindSafe,
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