Enum typenum::bit::B0 [] [src]

pub enum B0 {}

The type-level bit 0.

Trait Implementations

impl PartialEq for B0
[src]

fn eq(&self, _: &Self) -> 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 Eq for B0
[src]

impl PartialOrd for B0
[src]

fn partial_cmp(&self, _: &Self) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more

fn lt(&self, other: &Rhs) -> bool
1.0.0

This method tests less than (for self and other) and is used by the < operator. Read more

fn le(&self, other: &Rhs) -> bool
1.0.0

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

fn gt(&self, other: &Rhs) -> bool
1.0.0

This method tests greater than (for self and other) and is used by the > operator. Read more

fn ge(&self, other: &Rhs) -> bool
1.0.0

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for B0
[src]

fn cmp(&self, _: &Self) -> Ordering

This method returns an Ordering between self and other. Read more

impl Clone for B0
[src]

fn clone(&self) -> Self

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 B0
[src]

impl Hash for B0
[src]

fn hash<H>(&self, _: &mut H) where H: Hasher

Feeds this value into the state given, updating the hasher as necessary.

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
1.3.0

Feeds a slice of this type into the state provided.

impl Default for B0
[src]

fn default() -> Self

Returns the "default value" for a type. Read more

impl Debug for B0
[src]

fn fmt(&self, _: &mut Formatter) -> Result<(), Error>

Formats the value using the given formatter.

impl Bit for B0
[src]

fn to_u8() -> u8

fn to_bool() -> bool

impl Not for B0
[src]

Not of 0 (!0 = 1)

type Output = B1

The resulting type after applying the ! operator

fn not(self) -> Self::Output

The method for the unary ! operator

impl<Rhs: Bit> BitAnd<Rhs> for B0
[src]

And with 0 ( 0 & B = 0)

type Output = B0

The resulting type after applying the & operator

fn bitand(self, _: Rhs) -> Self::Output

The method for the & operator

impl<Rhs: Bit> BitOr<Rhs> for B0
[src]

Or with 0 ( 0 | B = B)

type Output = Rhs

The resulting type after applying the | operator

fn bitor(self, _: Rhs) -> Self::Output

The method for the | operator

impl BitXor<B0> for B0
[src]

Xor between 0 and 0 ( 0 ^ 0 = 0)

type Output = B0

The resulting type after applying the ^ operator

fn bitxor(self, _: B0) -> Self::Output

The method for the ^ operator

impl BitXor<B1> for B0
[src]

Xor between 0 and 1 ( 0 ^ 1 = 1)

type Output = B1

The resulting type after applying the ^ operator

fn bitxor(self, _: B1) -> Self::Output

The method for the ^ operator

impl Cmp<B0> for B0
[src]

type Output = Equal

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

impl Cmp<B1> for B0
[src]

type Output = Less

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