Struct bitmac::bit_access::MSB
source · [−]pub struct MSB;Expand description
Most Significant Bit
Example:
use bitmac::bit_access::{MSB, BitAccess};
assert_eq!(MSB.set(0b0000_0000, 0, true), 0b1000_0000);Trait Implementations
impl Copy for MSB
impl Eq for MSB
impl StructuralEq for MSB
impl StructuralPartialEq for MSB
Auto Trait Implementations
impl RefUnwindSafe for MSB
impl Send for MSB
impl Sync for MSB
impl Unpin for MSB
impl UnwindSafe for MSB
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more