Struct num_runtime_fmt::numeric_trait::impls::BinIter[][src]

pub struct BinIter<N>(_);

Iterator over binary digits of N.

Implementations

impl<N> BinIter<N>[src]

pub fn new(n: N) -> Self where
    N: Default + PartialOrd
[src]

Create a new digit iterator for this value.

Note also that the trait bounds specified here are only necessary and enforced when compiled in debug mode. They enable a debug assertion.

Trait Implementations

impl<N> Iterator for BinIter<N> where
    N: Clone + From<u8> + BitAnd<Output = N> + ShrAssign + PartialEq
[src]

type Item = char

The type of the elements being iterated over.

Auto Trait Implementations

impl<N> RefUnwindSafe for BinIter<N> where
    N: RefUnwindSafe

impl<N> Send for BinIter<N> where
    N: Send

impl<N> Sync for BinIter<N> where
    N: Sync

impl<N> Unpin for BinIter<N> where
    N: Unpin

impl<N> UnwindSafe for BinIter<N> where
    N: 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<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<T> Itertools for T where
    T: Iterator + ?Sized
[src]

impl<'a, I, T> Pad<'a, T> for I where
    T: 'a + Copy,
    I: IntoIterator<Item = T>,
    <I as IntoIterator>::IntoIter: 'a, 
[src]

impl<'a, I, T, O> Separate<'a, I, T, O> for I where
    T: 'a + Copy + PartialEq<T>,
    I: 'a + IntoIterator<Item = T>,
    O: FromIterator<T>,
    <I as IntoIterator>::IntoIter: 'a, 
[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.