Struct core_extensions::type_level_bool::False [−][src]
pub struct False;
Represents a type-level false
Trait Implementations
impl Not for False
[src]
impl Not for False
type Output = True
The resulting type after applying the !
operator.
fn not(self) -> Self::Output
[src]
fn not(self) -> Self::Output
Performs the unary !
operation.
impl<B> BitAnd<B> for False
[src]
impl<B> BitAnd<B> for False
type Output = False
The resulting type after applying the &
operator.
fn bitand(self, _: B) -> Self::Output
[src]
fn bitand(self, _: B) -> Self::Output
Performs the &
operation.
impl<B> BitOr<B> for False
[src]
impl<B> BitOr<B> for False
type Output = B
The resulting type after applying the |
operator.
fn bitor(self, v: B) -> Self::Output
[src]
fn bitor(self, v: B) -> Self::Output
Performs the |
operation.
impl<B> BitXor<B> for False
[src]
impl<B> BitXor<B> for False
type Output = B
The resulting type after applying the ^
operator.
fn bitxor(self, v: B) -> Self::Output
[src]
fn bitxor(self, v: B) -> Self::Output
Performs the ^
operation.
impl Debug for False
[src]
impl Debug for False
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Copy for False
[src]
impl Copy for False
impl Clone for False
[src]
impl Clone for False
fn clone(&self) -> False
[src]
fn clone(&self) -> False
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Default for False
[src]
impl Default for False
impl MarkerType for False
[src]
impl MarkerType for False
const MTVAL: Self
MTVAL: Self = { unsafe { __Uninit::<Self>{uninit: (),}.value } }
The value of Self.
ⓘImportant traits for &'a mut Rfn markertype_ref<'a>() -> &'a Self where
Self: 'a,
[src]
fn markertype_ref<'a>() -> &'a Self where
Self: 'a,
Constructs a reference to Self, this is possible because all references to zero sized types are valid. Read more
fn markertype_val() -> Self
[src]
fn markertype_val() -> Self
Constructs Self,this is possible because Self implements MarkerType.
impl Boolean for False
[src]
impl Boolean for False
type Not = True
The negation of this type.
const VALUE: bool
VALUE: bool = false
The bool value of this type
fn if_false<U, F: FnOnce() -> U>(f: F) -> Option<U>
[src]
fn if_false<U, F: FnOnce() -> U>(f: F) -> Option<U>
If Self==False,runs the closure and returns Some , otherwise returns None.
fn if_true<U, F: FnOnce() -> U>(_: F) -> Option<U>
[src]
fn if_true<U, F: FnOnce() -> U>(_: F) -> Option<U>
If Self==True,runs the closure and returns Some , otherwise returns None.