#[repr(u8)]pub enum Megabool {
True = 0,
False = 1,
Yesnt = 2,
Neither = 3,
Both = 4,
Maybe = 5,
ObliviouslyTrue = 6,
ObliviouslyFalse = 7,
ItDepends = 8,
Oscillating = 9,
ItsComplicated = 10,
DoubleTrue = 11,
}Expand description
Megabool!
Variants§
True = 0
It’s true.
False = 1
It’s false.
Yesnt = 2
It’s not yes.
Neither = 3
Not true and not false.
Both = 4
True and false at the same time.
Maybe = 5
Maybe true, maybe false. Try it yourself.
ObliviouslyTrue = 6
It’s funking obliviously true.
ObliviouslyFalse = 7
Literally false.
ItDepends = 8
Depends on some circumstances, result may be various.
Oscillating = 9
Oscillating result.
ItsComplicated = 10
Too complicated to calculate the result, just leave this variant.
DoubleTrue = 11
True + true
Implementations§
Source§impl Megabool
impl Megabool
Sourcepub fn let_me_choose() -> Self
pub fn let_me_choose() -> Self
Let your mechine choose, will it be true or false.
Trait Implementations§
Source§impl Ord for Megabool
impl Ord for Megabool
Source§impl PartialOrd for Megabool
impl PartialOrd for Megabool
impl Copy for Megabool
impl Eq for Megabool
impl StructuralPartialEq for Megabool
Auto Trait Implementations§
impl Freeze for Megabool
impl RefUnwindSafe for Megabool
impl Send for Megabool
impl Sync for Megabool
impl Unpin for Megabool
impl UnwindSafe for Megabool
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