Struct U64Digits
pub struct U64Digits<'a> { /* private fields */ }
An iterator of u64 digits representation of a BigUint or BigInt,
ordered least significant digit first.
Trait Implementations
impl DoubleEndedIterator for U64Digits<'_>
fn next_back(&mut self) -> Option<Self::Item>
impl ExactSizeIterator for U64Digits<'_>
fn len(&self) -> usize
impl FusedIterator for U64Digits<'_>
impl Iterator for U64Digits<'_>
type Item = u64;fn next(&mut self) -> Option<u64>fn size_hint(&self) -> (usize, Option<usize>)fn nth(&mut self, n: usize) -> Option<u64>fn last(self) -> Option<u64>fn count(self) -> usize
Auto Trait Implementations
impl<'a> Freeze for U64Digits<'a>
impl<'a> RefUnwindSafe for U64Digits<'a>
impl<'a> Send for U64Digits<'a>
impl<'a> Sync for U64Digits<'a>
impl<'a> Unpin for U64Digits<'a>
impl<'a> UnsafeUnpin for U64Digits<'a>
impl<'a> UnwindSafe for U64Digits<'a>
Blanket Implementations
impl<I> IntoIterator for U64Digits<'a>
where
I: Iterator,
type Item = <I as Iterator>::Item;type IntoIter = I;fn into_iter(self) -> I
impl<T> Any for U64Digits<'a>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for U64Digits<'a>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for U64Digits<'a>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for U64Digits<'a>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for U64Digits<'a>
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 U64Digits<'a>
where
U: Into<T>,
type Error = never;fn try_from(value: U) -> Result<T, never>
impl<T, U> TryInto<U> for U64Digits<'a>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>