Struct heapless::consts::B1 [−][src]
pub struct B1;
Expand description
The type-level bit 1.
Implementations
Trait Implementations
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)
This method returns an [Ordering
] between self
and other
. Read more
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
Auto Trait Implementations
Blanket Implementations
pub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
pub fn from(t: T) -> T
pub fn from(t: T) -> T
Performs the conversion.
pub fn into(self) -> U
pub fn into(self) -> U
Performs the conversion.