pub enum TripleBool {
Known(bool),
Unknown,
}Expand description
A bool but with three options, TripleBool::Known, TripleBool::Unknown
Variants§
Trait Implementations§
Source§impl Clone for TripleBool
impl Clone for TripleBool
Source§fn clone(&self) -> TripleBool
fn clone(&self) -> TripleBool
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TripleBool
Auto Trait Implementations§
impl Freeze for TripleBool
impl RefUnwindSafe for TripleBool
impl Send for TripleBool
impl Sync for TripleBool
impl Unpin for TripleBool
impl UnwindSafe for TripleBool
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