Trait ff::BitViewSized
source · [−]pub trait BitViewSized: BitView + Sized {
const ZERO: Self;
fn as_raw_slice(&self) -> &[Self::Store];
fn as_raw_mut_slice(&mut self) -> &mut [Self::Store];
fn into_bitarray<O>(self) -> BitArray<Self, O>
where
O: BitOrder,
{ ... }
}
Available on crate feature
bits
only.Expand description
Helper trait for scalars and arrays, but not slices.
Required Associated Constants
Required Methods
sourcefn as_raw_slice(&self) -> &[Self::Store]
fn as_raw_slice(&self) -> &[Self::Store]
Views the type as a slice of its elements.
sourcefn as_raw_mut_slice(&mut self) -> &mut [Self::Store]
fn as_raw_mut_slice(&mut self) -> &mut [Self::Store]
Views the type as a mutable slice of its elements.
Provided Methods
sourcefn into_bitarray<O>(self) -> BitArray<Self, O>where
O: BitOrder,
fn into_bitarray<O>(self) -> BitArray<Self, O>where
O: BitOrder,
Wraps self
in a BitArray
.