pub struct Map<T, F>(/* private fields */);Expand description
ErrorFactory for the map combinator.
Trait Implementations§
Source§impl<T: ErrorFactory, F: FnMut(T::Error) -> E, E> ErrorFactory for Map<T, F>
impl<T: ErrorFactory, F: FnMut(T::Error) -> E, E> ErrorFactory for Map<T, F>
Source§impl<T: Ord, F: Ord> Ord for Map<T, F>
impl<T: Ord, F: Ord> Ord for Map<T, F>
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<T: PartialOrd, F: PartialOrd> PartialOrd for Map<T, F>
impl<T: PartialOrd, F: PartialOrd> PartialOrd for Map<T, F>
impl<T: Copy, F: Copy> Copy for Map<T, F>
impl<T: Eq, F: Eq> Eq for Map<T, F>
impl<T, F> StructuralPartialEq for Map<T, F>
Auto Trait Implementations§
impl<T, F> Freeze for Map<T, F>
impl<T, F> RefUnwindSafe for Map<T, F>where
T: RefUnwindSafe,
F: RefUnwindSafe,
impl<T, F> Send for Map<T, F>
impl<T, F> Sync for Map<T, F>
impl<T, F> Unpin for Map<T, F>
impl<T, F> UnsafeUnpin for Map<T, F>where
T: UnsafeUnpin,
F: UnsafeUnpin,
impl<T, F> UnwindSafe for Map<T, F>where
T: UnwindSafe,
F: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.