pub enum Singleton {
None,
True,
False,
}
Variants§
Trait Implementations§
impl Copy for Singleton
impl Eq for Singleton
impl StructuralPartialEq for Singleton
Auto Trait Implementations§
impl Freeze for Singleton
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