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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub 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.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub 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