JoinToString

Trait JoinToString 

Source
pub trait JoinToString<T> {
    // Required method
    fn join_to_string<F>(&mut self, separator: &str, f: F) -> String
       where F: FnMut(&T) -> &str;
}

Required Methods§

Source

fn join_to_string<F>(&mut self, separator: &str, f: F) -> String
where F: FnMut(&T) -> &str,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<T, I> JoinToString<T> for I
where I: Iterator<Item = T>,