Struct Map

Source
pub struct Map<S, M> { /* private fields */ }

Trait Implementations§

Source§

impl<S, M> Source for Map<S, M>
where S: Source, M: Mapper,

Auto Trait Implementations§

§

impl<S, M> Freeze for Map<S, M>
where S: Freeze, M: Freeze,

§

impl<S, M> RefUnwindSafe for Map<S, M>

§

impl<S, M> Send for Map<S, M>
where S: Send, M: Send,

§

impl<S, M> Sync for Map<S, M>
where S: Sync, M: Sync,

§

impl<S, M> Unpin for Map<S, M>
where S: Unpin, M: Unpin,

§

impl<S, M> UnwindSafe for Map<S, M>
where S: UnwindSafe, M: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Localize for T

Source§

fn localize(self, chars: Snip, bytes: Snip) -> Local<Self>

Source§

impl<T> SourceExt for T
where T: Source,

Source§

fn pipe<P>(self, parser: P) -> Pipe<Self, P>
where P: PipeParser,

Source§

fn filter_char<F>(self, filter: F) -> Filtered<Self, F>
where F: FnMut(char) -> Option<char>,

Source§

fn map_char<M>(self, mapper: M) -> MapChar<Self, M>

Source§

fn into_separator(self) -> IntoSeparator<Self>

Source§

fn merge_separators(self) -> MergeSeparator<Self>

Source§

fn chain<S: Source>(self, chained: S) -> Chain<Self, S>

Source§

fn try_map<M>(self, mapper: M) -> Map<Self, M>

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.