[][src]Struct tinybitvec::ArrayBitVec

pub struct ArrayBitVec<Bits, O = Local> where
    O: BitOrder,
    Bits: AsBits + Default
{ /* fields omitted */ }

Implementations

impl<O, Bits> ArrayBitVec<Bits, O> where
    O: BitOrder,
    Bits: AsBits + Default
[src]

pub fn capacity(&self) -> usize[src]

pub fn len(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

pub fn push(&mut self, x: bool)[src]

pub fn try_push(&mut self, x: bool) -> Option<bool>[src]

pub fn pop(&mut self) -> Option<bool>[src]

pub fn truncate(&mut self, len: usize)[src]

pub fn set_len(&mut self, newlen: usize)[src]

pub fn swap_remove(&mut self, index: usize) -> bool[src]

pub fn insert(&mut self, index: usize, x: bool)[src]

pub fn try_insert(&mut self, index: usize, x: bool) -> Option<bool>[src]

pub fn remove(&mut self, index: usize) -> bool[src]

pub fn append(&mut self, other: &mut Self)[src]

pub fn try_append<'o>(&mut self, other: &'o mut Self) -> Option<&'o Self>[src]

pub fn try_extend_from_slice<'s, BO, BS>(
    &mut self,
    slice: &'s BitSlice<BO, BS>
) -> Option<&'s BitSlice<BO, BS>> where
    BO: BitOrder,
    BS: BitStore
[src]

pub fn extend_from_slice<BO, BS>(&mut self, slice: &BitSlice<BO, BS>) where
    BO: BitOrder,
    BS: BitStore
[src]

pub fn clear(&mut self)[src]

pub fn split_off(&mut self, at: usize) -> Self[src]

pub fn resize_with<F>(&mut self, newlen: usize, f: F) where
    F: FnMut() -> bool
[src]

pub fn try_resize_with<F>(&mut self, newlen: usize, f: F) -> Option<F> where
    F: FnMut() -> bool
[src]

pub fn resize(&mut self, newlen: usize, x: bool)[src]

pub fn try_resize(&mut self, newlen: usize, x: bool) -> Option<bool>[src]

pub fn to_vec(&self) -> BitVec<O, Bits::Store>[src]

pub fn to_vec_and_reserve(&self, n: usize) -> BitVec<O, Bits::Store>[src]

pub fn try_reserve(&mut self, n: usize) -> Option<usize>[src]

Trait Implementations

impl<Bits: Clone, O: Clone> Clone for ArrayBitVec<Bits, O> where
    O: BitOrder,
    Bits: AsBits + Default
[src]

impl<Bits: Copy, O: Copy> Copy for ArrayBitVec<Bits, O> where
    O: BitOrder,
    Bits: AsBits + Default
[src]

impl<Bits: Debug, O: Debug> Debug for ArrayBitVec<Bits, O> where
    O: BitOrder,
    Bits: AsBits + Default
[src]

impl<O, Bits> Default for ArrayBitVec<Bits, O> where
    O: BitOrder,
    Bits: AsBits + Default
[src]

impl<O, Bits> Deref for ArrayBitVec<Bits, O> where
    O: BitOrder,
    Bits: AsBits + Default
[src]

type Target = BitSlice<O, Bits::Store>

The resulting type after dereferencing.

impl<O, Bits> DerefMut for ArrayBitVec<Bits, O> where
    O: BitOrder,
    Bits: AsBits + Default
[src]

impl<Bits: Eq, O: Eq> Eq for ArrayBitVec<Bits, O> where
    O: BitOrder,
    Bits: AsBits + Default
[src]

impl<Bits: PartialEq, O: PartialEq> PartialEq<ArrayBitVec<Bits, O>> for ArrayBitVec<Bits, O> where
    O: BitOrder,
    Bits: AsBits + Default
[src]

impl<Bits, O> StructuralEq for ArrayBitVec<Bits, O> where
    O: BitOrder,
    Bits: AsBits + Default
[src]

impl<Bits, O> StructuralPartialEq for ArrayBitVec<Bits, O> where
    O: BitOrder,
    Bits: AsBits + Default
[src]

Auto Trait Implementations

impl<Bits, O> RefUnwindSafe for ArrayBitVec<Bits, O> where
    Bits: RefUnwindSafe,
    O: RefUnwindSafe

impl<Bits, O> Send for ArrayBitVec<Bits, O> where
    Bits: Send,
    O: Send

impl<Bits, O> Sync for ArrayBitVec<Bits, O> where
    Bits: Sync,
    O: Sync

impl<Bits, O> Unpin for ArrayBitVec<Bits, O> where
    Bits: Unpin,
    O: Unpin

impl<Bits, O> UnwindSafe for ArrayBitVec<Bits, O> where
    Bits: UnwindSafe,
    O: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.