Struct Blocks
pub struct Blocks<'a, B: 'a> { /* private fields */ }
An iterator over the blocks of a BitVec.
Trait Implementations
impl<'a, B: BitBlock> DoubleEndedIterator for Blocks<'a, B>
fn next_back(&mut self) -> Option<B>
impl<'a, B: BitBlock> ExactSizeIterator for Blocks<'a, B>
impl<'a, B: BitBlock> Iterator for Blocks<'a, B>
type Item = B;fn next(&mut self) -> Option<B>fn size_hint(&self) -> (usize, Option<usize>)
impl<'a, B: Clone + 'a> Clone for Blocks<'a, B>
fn clone(&self) -> Self
Auto Trait Implementations
impl<'a, B> Freeze for Blocks<'a, B>
where
Iter<'a, B>: Freeze,
impl<'a, B> RefUnwindSafe for Blocks<'a, B>
where
Iter<'a, B>: RefUnwindSafe,
impl<'a, B> Send for Blocks<'a, B>
where
Iter<'a, B>: Send,
impl<'a, B> Sync for Blocks<'a, B>
where
Iter<'a, B>: Sync,
impl<'a, B> Unpin for Blocks<'a, B>
where
Iter<'a, B>: Unpin,
impl<'a, B> UnsafeUnpin for Blocks<'a, B>
where
Iter<'a, B>: UnsafeUnpin,
impl<'a, B> UnwindSafe for Blocks<'a, B>
where
Iter<'a, B>: UnwindSafe,
Blanket Implementations
impl<I> IntoIterator for Blocks<'a, B>
where
I: Iterator,
type Item = <I as Iterator>::Item;type IntoIter = I;fn into_iter(self) -> I
impl<T> Any for Blocks<'a, B>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for Blocks<'a, B>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for Blocks<'a, B>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> CloneToUninit for Blocks<'a, B>
where
T: Clone,
unsafe fn clone_to_uninit(&self, dest: *mut u8)
impl<T> From<T> for Blocks<'a, B>
fn from(t: T) -> TReturns the argument unchanged.
impl<T> ToOwned for Blocks<'a, B>
where
T: Clone,
type Owned = T;fn to_owned(&self) -> Tfn clone_into(&self, target: &mut T)
impl<T, U> Into<U> for Blocks<'a, B>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for Blocks<'a, B>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for Blocks<'a, B>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>