Struct diffgeom::typenum::B1
[−]
pub struct B1;
The type-level bit 1.
Methods
impl B1
Trait Implementations
impl Clone for B1
fn clone(&self) -> B1
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 Cmp<B1> for B1
type Output = Equal
The result of the comparison. It should only ever be one of Greater
, Less
, or Equal
.
impl Cmp<B0> for B1
type Output = Greater
The result of the comparison. It should only ever be one of Greater
, Less
, or Equal
.
impl Bit for B1
impl Debug for B1
fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.
impl Not for B1
Not of 1 (!1 = 0)
impl Eq for B1
impl BitXor<B1> for B1
Xor between 1 and 1 ( 1 ^ 1 = 0)
impl BitXor<B0> for B1
Xor between 1 and 0 ( 1 ^ 0 = 1)
impl Min<B1> for B1
type Output = B1
The type of the minimum of Self
and Rhs
fn min(self, B1) -> B1
Method returning the minimum
impl Min<B0> for B1
type Output = B0
The type of the minimum of Self
and Rhs
fn min(self, rhs: B0) -> B0
Method returning the minimum
impl Default for B1
impl<Rhs> BitOr<Rhs> for B1 where
Rhs: Bit,
Rhs: Bit,
Or with 1 ( 1 | B = 1)
impl NonZero for B1
impl PartialOrd<B1> for B1
fn partial_cmp(&self, __arg_0: &B1) -> Option<Ordering>
impl Hash for B1
impl PartialEq<B1> for B1
fn eq(&self, __arg_0: &B1) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Max<B0> for B1
type Output = B1
The type of the maximum of Self
and Rhs
fn max(self, B0) -> B1
Method returning the maximum
impl Max<B1> for B1
type Output = B1
The type of the maximum of Self
and Rhs
fn max(self, B1) -> B1
Method returning the maximum
impl BitAnd<B1> for B1
And with 1 ( 1 & 1 = 1)
impl BitAnd<B0> for B1
And with 1 ( 1 & 0 = 0)