[]Struct oxygengine_core::ecs::hibitset::DrainBitIter

pub struct DrainBitIter<'a, T> where
    T: 'a, 
{ /* fields omitted */ }

A draining Iterator over a DrainableBitSet structure.

Implementations

impl<'a, T> DrainBitIter<'a, T> where
    T: DrainableBitSet

pub fn new(
    set: &'a mut T,
    masks: [usize; 4],
    prefix: [u32; 3]
) -> DrainBitIter<'a, T>

Notable traits for DrainBitIter<'a, T>

impl<'a, T> Iterator for DrainBitIter<'a, T> where
    T: DrainableBitSet
type Item = u32;

Creates a new DrainBitIter. You usually don't call this function but just .drain() on a bit set.

Trait Implementations

impl<'a, T> Iterator for DrainBitIter<'a, T> where
    T: DrainableBitSet

type Item = u32

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, T> RefUnwindSafe for DrainBitIter<'a, T> where
    T: RefUnwindSafe

impl<'a, T> Send for DrainBitIter<'a, T> where
    T: Send

impl<'a, T> Sync for DrainBitIter<'a, T> where
    T: Sync

impl<'a, T> Unpin for DrainBitIter<'a, T>

impl<'a, T> !UnwindSafe for DrainBitIter<'a, T>

Blanket Implementations

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

impl<T> Any for T where
    T: Any

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

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

impl<T> Event for T where
    T: Send + Sync + 'static, 
[src]

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

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

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<I> IteratorRandom for I where
    I: Iterator
[src]

impl<T> Resource for T where
    T: Any, 
[src]

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,