#[repr(align(8))]pub struct B64(pub [u8; 8]);
Expand description
An array of bits
Tuple Fields§
§0: [u8; 8]
Trait Implementations§
Source§impl BitArray for B64
impl BitArray for B64
Source§fn get_bit(self, index: usize) -> bool
fn get_bit(self, index: usize) -> bool
Get a bit. Poor performance, used only for testing and debugging.
Source§fn set_bit(&mut self, index: usize, sign: bool)
fn set_bit(&mut self, index: usize, sign: bool)
Set a bit. Poor performance, used only for testing and debugging.
fn count_ones(self) -> u32
Source§fn transpose_in_place(a: &mut BitMatrix<Self, 64>)
fn transpose_in_place(a: &mut BitMatrix<Self, 64>)
Transpose a square matrix in place. This will likely be better performance than using
Transpose::transpose()
.Source§impl Distribution<B64> for Standard
impl Distribution<B64> for Standard
impl Copy for B64
impl Eq for B64
impl StructuralPartialEq for B64
Auto Trait Implementations§
impl Freeze for B64
impl RefUnwindSafe for B64
impl Send for B64
impl Sync for B64
impl Unpin for B64
impl UnwindSafe for B64
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more