#[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 PartialOrd for OptBool
impl PartialOrd for OptBool
impl 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)