Struct lenient_bool::LenientBool
[−]
[src]
pub struct LenientBool(pub bool);
Trait Implementations
impl Debug for LenientBool
[src]
impl PartialEq for LenientBool
[src]
fn eq(&self, __arg_0: &LenientBool) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LenientBool) -> bool
This method tests for !=
.
impl Eq for LenientBool
[src]
impl PartialOrd for LenientBool
[src]
fn partial_cmp(&self, __arg_0: &LenientBool) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &LenientBool) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &LenientBool) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &LenientBool) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &LenientBool) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for LenientBool
[src]
fn cmp(&self, __arg_0: &LenientBool) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl Clone for LenientBool
[src]
fn clone(&self) -> LenientBool
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Copy for LenientBool
[src]
impl Hash for LenientBool
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Default for LenientBool
[src]
fn default() -> LenientBool
Returns the "default value" for a type. Read more
impl FromStr for LenientBool
[src]
type Err = LenientBoolError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self, LenientBoolError>
Parses a string s
to return a value of this type. Read more
impl From<bool> for LenientBool
[src]
fn from(b: bool) -> LenientBool
Performs the conversion.
impl AsRef<bool> for LenientBool
[src]
impl AsMut<bool> for LenientBool
[src]
impl Deref for LenientBool
[src]
type Target = bool
The resulting type after dereferencing
fn deref(&self) -> &Self::Target
The method called to dereference a value