pub struct FixedBitArray<const N: usize> { /* private fields */ }
Expand description
A bit array type of fixed size.
Implementations§
Source§impl<const N: usize> FixedBitArray<N>
impl<const N: usize> FixedBitArray<N>
Trait Implementations§
Source§impl<const N: usize> Binary for FixedBitArray<N>
impl<const N: usize> Binary for FixedBitArray<N>
Source§impl<const N: usize> Default for FixedBitArray<N>
impl<const N: usize> Default for FixedBitArray<N>
Source§fn default() -> FixedBitArray<N>
fn default() -> FixedBitArray<N>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<const N: usize> Freeze for FixedBitArray<N>
impl<const N: usize> RefUnwindSafe for FixedBitArray<N>
impl<const N: usize> Send for FixedBitArray<N>
impl<const N: usize> Sync for FixedBitArray<N>
impl<const N: usize> Unpin for FixedBitArray<N>
impl<const N: usize> UnwindSafe for FixedBitArray<N>
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more