Struct IterNames

struct IterNames<B: 'static> { ... }

An iterator over flags values.

This iterator only yields flags values for contained, defined, named flags. Any remaining bits won't be yielded, but can be found with the IterNames::remaining method.

Implementations

impl<B: 'static> IterNames<B>

fn remaining(self: &Self) -> &B

Get a flags value of any remaining bits that haven't been yielded yet.

Once the iterator has finished, this method can be used to check whether or not there are any bits that didn't correspond to a contained, defined, named flag remaining.

impl<B> Freeze for IterNames<B>

impl<B> RefUnwindSafe for IterNames<B>

impl<B> Send for IterNames<B>

impl<B> Sync for IterNames<B>

impl<B> Unpin for IterNames<B>

impl<B> UnwindSafe for IterNames<B>

impl<B: Flags> Iterator for IterNames<B>

fn next(self: &mut Self) -> Option<<Self as >::Item>

impl<I> IntoIterator for IterNames<B>

fn into_iter(self: Self) -> I

impl<T> Any for IterNames<B>

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for IterNames<B>

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for IterNames<B>

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> From for IterNames<B>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into for IterNames<B>

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for IterNames<B>

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for IterNames<B>

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>