Struct sans_io_runtime::collections::BitVec
source · pub struct BitVec { /* private fields */ }Implementations§
source§impl BitVec
impl BitVec
pub fn news(len: usize) -> Self
pub fn set_len(&mut self, len: usize)
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
pub fn get_bit(&self, index: usize) -> bool
pub fn set_bit(&mut self, index: usize, value: bool)
pub fn first_set_index(&self) -> Option<usize>
pub fn set_all(&mut self, value: bool)
Auto Trait Implementations§
impl Freeze for BitVec
impl RefUnwindSafe for BitVec
impl Send for BitVec
impl Sync for BitVec
impl Unpin for BitVec
impl UnwindSafe for BitVec
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