Struct U32Digits

pub struct U32Digits<'a> { /* private fields */ }

An iterator of u32 digits representation of a BigUint or BigInt, ordered least significant digit first.

Trait Implementations

impl DoubleEndedIterator for U32Digits<'_>

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

impl ExactSizeIterator for U32Digits<'_>

fn len(&self) -> usize

impl FusedIterator for U32Digits<'_>

impl Iterator for U32Digits<'_>

type Item = u32;
fn next(&mut self) -> Option<u32>
fn size_hint(&self) -> (usize, Option<usize>)
fn last(self) -> Option<u32>
fn count(self) -> usize

Auto Trait Implementations

impl<'a> Freeze for U32Digits<'a>

impl<'a> RefUnwindSafe for U32Digits<'a>

impl<'a> Send for U32Digits<'a>

impl<'a> Sync for U32Digits<'a>

impl<'a> Unpin for U32Digits<'a>

impl<'a> UnsafeUnpin for U32Digits<'a>

impl<'a> UnwindSafe for U32Digits<'a>

Blanket Implementations

impl<I> IntoIterator for U32Digits<'a> where I: Iterator,

type Item = <I as Iterator>::Item;
type IntoIter = I;
fn into_iter(self) -> I

impl<T> Any for U32Digits<'a> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for U32Digits<'a> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for U32Digits<'a> where T: ?Sized,

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

impl<T> From<T> for U32Digits<'a>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for U32Digits<'a> where U: From<T>,

fn into(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<U> for U32Digits<'a> where U: Into<T>,

type Error = never;
fn try_from(value: U) -> Result<T, never>

impl<T, U> TryInto<U> for U32Digits<'a> where U: TryFrom<T>,

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