Struct diffgeom::typenum::B1 []

pub struct B1;

The type-level bit 1.

Methods

impl B1

Instantiates a singleton representing this bit.

Trait Implementations

impl Clone for B1

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Cmp<B1> for B1

The result of the comparison. It should only ever be one of Greater, Less, or Equal.

impl Cmp<B0> for B1

The result of the comparison. It should only ever be one of Greater, Less, or Equal.

impl Bit for B1

impl Debug for B1

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

The type of the minimum of Self and Rhs

Method returning the minimum

impl Min<B0> for B1

The type of the minimum of Self and Rhs

Method returning the minimum

impl Default for B1

impl<Rhs> BitOr<Rhs> for B1 where
    Rhs: Bit

Or with 1 ( 1 | B = 1)

impl NonZero for B1

impl PartialOrd<B1> for B1

impl Hash for B1

impl PartialEq<B1> for B1

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Max<B0> for B1

The type of the maximum of Self and Rhs

Method returning the maximum

impl Max<B1> for B1

The type of the maximum of Self and Rhs

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)

impl Ord for B1

impl Copy for B1