[−][src]Enum tinybitvec::TinyBitVec
Variants
Inline(ArrayBitVec<Bits, O>)
Implementations
impl<Bits, O> TinyBitVec<Bits, O> where
O: BitOrder,
Bits: AsBits + Default,
[src]
O: BitOrder,
Bits: AsBits + Default,
pub fn is_empty(&self) -> bool
[src]
pub fn clear(&mut self)
[src]
pub fn into_vec(self) -> BitVec<O, Bits::Store>
[src]
pub fn move_to_heap_and_reserve(&mut self, n: usize)
[src]
pub fn move_to_heap(&mut self)
[src]
pub fn append(&mut self, other: &mut Self)
[src]
pub fn is_heap(&self) -> bool
[src]
pub fn is_inline(&self) -> bool
[src]
pub fn push(&mut self, x: bool)
[src]
pub fn insert(&mut self, index: usize, x: bool)
[src]
pub fn extend_from_slice(&mut self, other: &BitSlice<O, Bits::Store>)
[src]
pub fn resize(&mut self, newlen: usize, x: bool)
[src]
pub fn reserve(&mut self, n: usize)
[src]
pub fn resize_with<F>(&mut self, newlen: usize, f: F) where
F: FnMut() -> bool,
[src]
F: FnMut() -> bool,
pub fn capacity(&self) -> usize
[src]
pub fn len(&self) -> usize
[src]
pub fn truncate(&mut self, n: usize)
[src]
pub fn pop(&mut self) -> Option<bool>
[src]
pub fn swap_remove(&mut self, index: usize) -> bool
[src]
pub fn remove(&mut self, index: usize) -> bool
[src]
Trait Implementations
impl<O, Bits> Deref for TinyBitVec<Bits, O> where
O: BitOrder,
Bits: AsBits + Default,
[src]
O: BitOrder,
Bits: AsBits + Default,
type Target = BitSlice<O, Bits::Store>
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
[src]
impl<O, Bits> DerefMut for TinyBitVec<Bits, O> where
O: BitOrder,
Bits: AsBits + Default,
[src]
O: BitOrder,
Bits: AsBits + Default,
Auto Trait Implementations
impl<Bits, O> RefUnwindSafe for TinyBitVec<Bits, O> where
Bits: RefUnwindSafe,
O: RefUnwindSafe,
<Bits as AsBits>::Store: RefUnwindSafe,
Bits: RefUnwindSafe,
O: RefUnwindSafe,
<Bits as AsBits>::Store: RefUnwindSafe,
impl<Bits, O> Send for TinyBitVec<Bits, O> where
Bits: Send,
O: Send,
<Bits as AsBits>::Store: BitStore,
Bits: Send,
O: Send,
<Bits as AsBits>::Store: BitStore,
impl<Bits, O> Sync for TinyBitVec<Bits, O> where
Bits: Sync,
O: Sync,
<Bits as AsBits>::Store: BitStore,
Bits: Sync,
O: Sync,
<Bits as AsBits>::Store: BitStore,
impl<Bits, O> Unpin for TinyBitVec<Bits, O> where
Bits: Unpin,
O: Unpin,
<Bits as AsBits>::Store: Unpin,
Bits: Unpin,
O: Unpin,
<Bits as AsBits>::Store: Unpin,
impl<Bits, O> UnwindSafe for TinyBitVec<Bits, O> where
Bits: UnwindSafe,
O: UnwindSafe,
<Bits as AsBits>::Store: UnwindSafe,
Bits: UnwindSafe,
O: UnwindSafe,
<Bits as AsBits>::Store: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,