Struct join_to_string::JoinBuilder [−][src]
pub struct JoinBuilder<'a, I> { /* fields omitted */ }
Builder struct to specify separator, suffix and prefix of the join operation.
Methods
impl<'a, I> JoinBuilder<'a, I>
[src]
impl<'a, I> JoinBuilder<'a, I>
pub fn prefix(self, prefix: &'a str) -> Self
[src]
pub fn prefix(self, prefix: &'a str) -> Self
Set the prefix.
pub fn suffix(self, suffix: &'a str) -> Self
[src]
pub fn suffix(self, suffix: &'a str) -> Self
Set the suffix.
pub fn surround_with(self, prefix: &'a str, suffix: &'a str) -> Self
[src]
pub fn surround_with(self, prefix: &'a str, suffix: &'a str) -> Self
Set both suffix and prefix.
pub fn separator(self, sep: &'a str) -> Self
[src]
pub fn separator(self, sep: &'a str) -> Self
impl<'a, I> JoinBuilder<'a, I> where
I: Iterator,
I::Item: Display,
[src]
impl<'a, I> JoinBuilder<'a, I> where
I: Iterator,
I::Item: Display,
Auto Trait Implementations
impl<'a, I> Send for JoinBuilder<'a, I> where
I: Send,
impl<'a, I> Send for JoinBuilder<'a, I> where
I: Send,
impl<'a, I> Sync for JoinBuilder<'a, I> where
I: Sync,
impl<'a, I> Sync for JoinBuilder<'a, I> where
I: Sync,