Trait rqjs_cli::utils::string::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,

Object Safety§

This trait is not object safe.

Implementors§

source§

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