pub enum HaskellBool {
True,
False,
}Variants§
Trait Implementations§
Source§impl Clone for HaskellBool
impl Clone for HaskellBool
Source§fn clone(&self) -> HaskellBool
fn clone(&self) -> HaskellBool
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 moreSource§impl Debug for HaskellBool
impl Debug for HaskellBool
Source§impl<'de> Deserialize<'de> for HaskellBool
impl<'de> Deserialize<'de> for HaskellBool
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<bool> for HaskellBool
impl From<bool> for HaskellBool
Source§impl Hash for HaskellBool
impl Hash for HaskellBool
Source§impl Into<bool> for HaskellBool
impl Into<bool> for HaskellBool
Source§impl Ord for HaskellBool
impl Ord for HaskellBool
Source§fn cmp(&self, other: &HaskellBool) -> Ordering
fn cmp(&self, other: &HaskellBool) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for HaskellBool
impl PartialEq for HaskellBool
Source§impl PartialOrd for HaskellBool
impl PartialOrd for HaskellBool
impl Copy for HaskellBool
impl Eq for HaskellBool
impl StructuralPartialEq for HaskellBool
Auto Trait Implementations§
impl Freeze for HaskellBool
impl RefUnwindSafe for HaskellBool
impl Send for HaskellBool
impl Sync for HaskellBool
impl Unpin for HaskellBool
impl UnwindSafe for HaskellBool
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more