pub struct Singleton(/* private fields */);
Expand description
Extension identifier.
Implementations§
Trait Implementations§
source§impl Ord for Singleton
impl Ord for Singleton
source§impl PartialEq for Singleton
impl PartialEq for Singleton
source§impl PartialOrd for Singleton
impl PartialOrd for Singleton
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 Singleton
impl Eq for Singleton
impl StructuralPartialEq for Singleton
Auto Trait Implementations§
impl RefUnwindSafe for Singleton
impl Send for Singleton
impl Sync for Singleton
impl Unpin for Singleton
impl UnwindSafe for Singleton
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