Enum typenum::bit::B1
[−]
[src]
pub enum B1 {}
The type-level bit 1.
Trait Implementations
impl PartialEq for B1
impl Eq for B1
impl PartialOrd for B1
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 B1
impl Clone for B1
fn clone(&self) -> Self
fn clone_from(&mut self, source: &Self)
impl Copy for B1
impl Hash for B1
fn hash<H>(&self, _: &mut H) where H: Hasher
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
impl Default for B1
fn default() -> Self
impl Debug for B1
impl Bit for B1
impl NonZero for B1
impl Not for B1
Not of 1 (!1 = 0)
impl<Rhs: Bit> BitAnd<Rhs> for B1
And with 1 ( 1 & B = B)
impl<Rhs: Bit> BitOr<Rhs> for B1
Or with 1 ( 1 | B = 1)
impl BitXor<B0> for B1
Xor between 1 and 0 ( 1 ^ 0 = 1)
impl BitXor<B1> for B1
Xor between 1 and 1 ( 1 ^ 1 = 0)