pub trait SourceExt: Source + Sized {
// Provided methods
fn pipe<P>(self, parser: P) -> Pipe<Self, P>
where P: PipeParser { ... }
fn filter_char<F>(self, filter: F) -> Filtered<Self, F>
where F: FnMut(char) -> Option<char> { ... }
fn map_char<M>(self, mapper: M) -> MapChar<Self, M> { ... }
fn into_separator(self) -> IntoSeparator<Self> { ... }
fn merge_separators(self) -> MergeSeparator<Self> { ... }
fn chain<S: Source>(self, chained: S) -> Chain<Self, S> { ... }
fn try_map<M>(self, mapper: M) -> Map<Self, M> { ... }
}
Provided Methods§
fn pipe<P>(self, parser: P) -> Pipe<Self, P>where
P: PipeParser,
fn filter_char<F>(self, filter: F) -> Filtered<Self, F>
fn map_char<M>(self, mapper: M) -> MapChar<Self, M>
fn into_separator(self) -> IntoSeparator<Self>
fn merge_separators(self) -> MergeSeparator<Self>
fn chain<S: Source>(self, chained: S) -> Chain<Self, S>
fn try_map<M>(self, mapper: M) -> Map<Self, M>
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.