Struct joinery::NoSeparator [−][src]
pub struct NoSeparator;
Zero-size type representing the empty separator.
This struct can be used as a separator in cases where you simply want to join the elements of a separator without any elements between them.
See also the join_empty
method.
Examples
use joinery::{Joinable, NoSeparator}; let parts = (0..10); let join = parts.join_with(NoSeparator); assert_eq!(join.to_string(), "0123456789");
New in v1.1.0
Trait Implementations
impl Debug for NoSeparator
[src]
impl Debug for NoSeparator
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for NoSeparator
[src]
impl Clone for NoSeparator
fn clone(&self) -> NoSeparator
[src]
fn clone(&self) -> NoSeparator
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Display for NoSeparator
[src]
impl Display for NoSeparator
fn fmt(&self, _f: &mut Formatter) -> Result
[src]
fn fmt(&self, _f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Separator for NoSeparator
[src]
impl Separator for NoSeparator
Auto Trait Implementations
impl Send for NoSeparator
impl Send for NoSeparator
impl Sync for NoSeparator
impl Sync for NoSeparator