Struct elliptic_curve::consts::B1
source · [−]pub struct B1;
Expand description
The type-level bit 1.
Implementations
Trait Implementations
UInt<U, B1> + B1 = UInt<U + B1, B0>
UTerm + B1 = UInt<UTerm, B1>
UInt<U, B0> + B1 = UInt<U + 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)
UTerm * B1 = UTerm
UInt * B1 = UInt
Not of 1 (!1 = 0)
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
UInt<UTerm, B1> - B1 = UTerm
UInt<U, B1> - B1 = UInt<U, B0>
UInt<U, B0> - B1 = UInt<U - B1, B1>
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more