Struct Format

pub struct Format<'a, I> { /* private fields */ }

Format all iterator elements lazily, separated by sep.

The format value can only be formatted once, after that the iterator is exhausted.

See .format() for more information.

Trait Implementations

impl<'a, I> Binary for Format<'a, I> where I: Iterator, I::Item: Binary,

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'a, I> Debug for Format<'a, I> where I: Iterator, I::Item: Debug,

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'a, I> Display for Format<'a, I> where I: Iterator, I::Item: Display,

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'a, I> LowerExp for Format<'a, I> where I: Iterator, I::Item: LowerExp,

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'a, I> LowerHex for Format<'a, I> where I: Iterator, I::Item: LowerHex,

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'a, I> Octal for Format<'a, I> where I: Iterator, I::Item: Octal,

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'a, I> Pointer for Format<'a, I> where I: Iterator, I::Item: Pointer,

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'a, I> UpperExp for Format<'a, I> where I: Iterator, I::Item: UpperExp,

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<'a, I> UpperHex for Format<'a, I> where I: Iterator, I::Item: UpperHex,

fn fmt(&self, f: &mut Formatter<'_>) -> Result

impl<I> Clone for Format<'_, I> where I: Clone,

fn clone(&self) -> Self

Auto Trait Implementations

impl<'a, I> !Freeze for Format<'a, I>

impl<'a, I> !RefUnwindSafe for Format<'a, I>

impl<'a, I> !Sync for Format<'a, I>

impl<'a, I> Send for Format<'a, I> where Cell<Option<I>>: Send,

impl<'a, I> Unpin for Format<'a, I> where Cell<Option<I>>: Unpin,

impl<'a, I> UnsafeUnpin for Format<'a, I> where Cell<Option<I>>: UnsafeUnpin,

impl<'a, I> UnwindSafe for Format<'a, I> where Cell<Option<I>>: UnwindSafe,

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

impl<T> CloneToUninit for Format<'a, I> where T: Clone,

unsafe fn clone_to_uninit(&self, dest: *mut u8)

impl<T> From<T> for Format<'a, I>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> IntoEither for Format<'a, I>

impl<T> ToOwned for Format<'a, I> where T: Clone,

type Owned = T;
fn to_owned(&self) -> T
fn clone_into(&self, target: &mut T)

impl<T> ToString for Format<'a, I> where T: Display + ?Sized,

fn to_string(&self) -> String

impl<T, U> Into<U> for Format<'a, I> 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 Format<'a, I> where U: Into<T>,

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

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

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