Struct itertools::structs::FormatWith
source · [−]pub struct FormatWith<'a, I, F> { /* private fields */ }
Expand description
Format all iterator elements lazily, separated by sep
.
The format value can only be formatted once, after that the iterator is exhausted.
See .format_with()
for more information.
Trait Implementations
sourceimpl<'a, I: Clone, F: Clone> Clone for FormatWith<'a, I, F>
impl<'a, I: Clone, F: Clone> Clone for FormatWith<'a, I, F>
sourcefn clone(&self) -> FormatWith<'a, I, F>
fn clone(&self) -> FormatWith<'a, I, F>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl<'a, I, F> !RefUnwindSafe for FormatWith<'a, I, F>
impl<'a, I, F> Send for FormatWith<'a, I, F> where
F: Send,
I: Send,
impl<'a, I, F> !Sync for FormatWith<'a, I, F>
impl<'a, I, F> Unpin for FormatWith<'a, I, F> where
F: Unpin,
I: Unpin,
impl<'a, I, F> UnwindSafe for FormatWith<'a, I, F> where
F: UnwindSafe,
I: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more