Struct elliptic_curve::consts::B1
source · pub struct B1;
Expand description
The type-level bit 1.
Implementations§
Trait Implementations§
source§impl<U> Add<B1> for UInt<U, B1>where
U: Unsigned + Add<B1>,
<U as Add<B1>>::Output: Unsigned,
impl<U> Add<B1> for UInt<U, B1>where
U: Unsigned + Add<B1>,
<U as Add<B1>>::Output: Unsigned,
UInt<U, B1> + B1 = UInt<U + B1, B0>
source§impl Ord for B1
impl Ord for B1
source§impl PartialOrd<B1> for B1
impl PartialOrd<B1> for B1
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl<U> Sub<B1> for UInt<U, B0>where
U: Unsigned + Sub<B1>,
<U as Sub<B1>>::Output: Unsigned,
impl<U> Sub<B1> for UInt<U, B0>where
U: Unsigned + Sub<B1>,
<U as Sub<B1>>::Output: Unsigned,
UInt<U, B0> - B1 = UInt<U - B1, B1>
source§impl<U, B> Sub<B1> for UInt<UInt<U, B>, B1>where
U: Unsigned,
B: Bit,
impl<U, B> Sub<B1> for UInt<UInt<U, B>, B1>where
U: Unsigned,
B: Bit,
UInt<U, B1> - B1 = UInt<U, B0>