pub enum ThinSentinelEnum<T> {
ZERO,
ONE,
VALUE(T),
}
Variants
ZERO
ONE
VALUE(T)
Trait Implementations
sourceimpl<T> ThinSentinel for ThinSentinelEnum<T>
impl<T> ThinSentinel for ThinSentinelEnum<T>
fn thin_sentinel_zero() -> Self
fn thin_sentinel_one() -> Self
Auto Trait Implementations
impl<T> RefUnwindSafe for ThinSentinelEnum<T>where
T: RefUnwindSafe,
impl<T> Send for ThinSentinelEnum<T>where
T: Send,
impl<T> Sync for ThinSentinelEnum<T>where
T: Sync,
impl<T> Unpin for ThinSentinelEnum<T>where
T: Unpin,
impl<T> UnwindSafe for ThinSentinelEnum<T>where
T: UnwindSafe,
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