Struct universal_hash::consts::B1 [−]
pub struct B1;
Expand description
The type-level bit 1.
Implementations
Trait Implementations
impl Bit for B1
impl Bit for B1
And with 1 ( 1 & 0 = 0)
And with 1 ( 1 & 1 = 1)
Or with 0 ( 0 | 1 = 1)
Or with 1 ( 1 | B = 1)
Xor between 1 and 0 ( 1 ^ 0 = 1)
Xor between 1 and 1 ( 1 ^ 1 = 0)
Xor between 0 and 1 ( 0 ^ 1 = 1)
Not of 1 (!1 = 0)
impl PartialOrd<B1> for B1
impl PartialOrd<B1> for B1
pub fn partial_cmp(&self, other: &B1) -> Option<Ordering>
pub fn partial_cmp(&self, other: &B1) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
impl NonZero for B1
impl PowerOfTwo for B1
impl StructuralEq for B1
impl StructuralPartialEq for B1
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self