pub enum Bool {
True,
False,
Term(u8),
And(Vec<Bool>),
Or(Vec<Bool>),
Not(Box<Bool>),
}
Variants§
True
False
Term(u8)
can be any number in 0..32
, anything else will cause panics or wrong results
And(Vec<Bool>)
needs to contain at least two elements
Or(Vec<Bool>)
needs to contain at least two elements
Not(Box<Bool>)
Implementations§
Trait Implementations§
impl Eq for Bool
Auto Trait Implementations§
impl Freeze for Bool
impl RefUnwindSafe for Bool
impl Send for Bool
impl Sync for Bool
impl Unpin for Bool
impl UnwindSafe for Bool
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
)