pub struct ValueVec { /* private fields */ }
Expand description
A ValueVec is a bit vector that holds fixed sized unsigned integer values.
Implementations§
Source§impl ValueVec
impl ValueVec
Sourcepub fn new(bits_per_val: usize, count: usize) -> ValueVec
pub fn new(bits_per_val: usize, count: usize) -> ValueVec
Create a ValueVec that holds values with bits_per_val
bits and
space to hold count
values.
Sourcepub fn bits_per_val(&self) -> usize
pub fn bits_per_val(&self) -> usize
How many bits this ValueVec is using to store each value
Auto Trait Implementations§
impl Freeze for ValueVec
impl RefUnwindSafe for ValueVec
impl Send for ValueVec
impl Sync for ValueVec
impl Unpin for ValueVec
impl UnwindSafe for ValueVec
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