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

pub enum B0 {}

The type-level bit 0.

Trait Implementations

impl PartialEq for B0

fn eq(&self, _: &Self) -> bool

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

impl Eq for B0

impl PartialOrd for B0

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

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

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

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

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

impl Ord for B0

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

impl Clone for B0

fn clone(&self) -> Self

fn clone_from(&mut self, source: &Self)

impl Copy for B0

impl Hash for B0

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

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

impl Default for B0

fn default() -> Self

impl Debug for B0

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

impl Bit for B0

fn to_u8() -> u8

fn to_bool() -> bool

impl Not for B0

Not of 0 (!0 = 1)

type Output = B1

fn not(self) -> Self::Output

impl<Rhs: Bit> BitAnd<Rhs> for B0

And with 0 ( 0 & B = 0)

type Output = B0

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

impl<Rhs: Bit> BitOr<Rhs> for B0

Or with 0 ( 0 | B = B)

type Output = Rhs

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

impl BitXor<B0> for B0

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

type Output = B0

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

impl BitXor<B1> for B0

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

type Output = B1

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

impl Cmp<B0> for B0

type Output = Equal

impl Cmp<B1> for B0

type Output = Less