Trait SetSep

Source
pub trait SetSep: Pattern + Sized {
    // Provided method
    fn sep_with(self, sep: Sep) -> SepConfig<Self> { ... }
}
Expand description

Allows a pattern to edit its sep_method.

Provided Methods§

Source

fn sep_with(self, sep: Sep) -> SepConfig<Self>

Set the Sep for this pattern. By default this is Retain.

§Sep Methods:

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<P> SetSep for P
where P: Pattern + Sized,