Enum oxidd_core::util::OptBool
source · #[repr(i8)]pub enum OptBool {
None = -1,
False = 0,
True = 1,
}Expand description
Optional Boolean with repr(i8)
Variants§
Trait Implementations§
source§impl Ord for OptBool
impl Ord for OptBool
source§impl PartialEq for OptBool
impl PartialEq for OptBool
source§impl PartialOrd for OptBool
impl PartialOrd for OptBool
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 OptBool
impl Eq for OptBool
impl StructuralPartialEq for OptBool
Auto Trait Implementations§
impl Freeze for OptBool
impl RefUnwindSafe for OptBool
impl Send for OptBool
impl Sync for OptBool
impl Unpin for OptBool
impl UnwindSafe for OptBool
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