Enum funcmap::TypeParam

source ·
pub enum TypeParam<const N: usize> {}
Expand description

Marker type specifying one of multiple type parameters to map over

The const generic N is the zero-based index of the type parameter, not counting lifetime parameters, but counting const generics.

For example, for a type Foo<'a, S, T>,

and for a type Foo<'a, const N: usize, S, const M: usize, T>,

Trait Implementations§

source§

impl<const N: usize> Clone for TypeParam<N>

source§

fn clone(&self) -> TypeParam<N>

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl<const N: usize> Debug for TypeParam<N>

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<const N: usize> Display for TypeParam<N>

source§

fn fmt(&self, _: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl<A, B, const N: usize> FuncMap<A, B, TypeParam<0>> for [A; N]

§

type Output = [B; N]

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B, V> FuncMap<A, B, TypeParam<0>> for BTreeMap<A, V>where B: Ord,

§

type Output = BTreeMap<B, V, Global>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for BTreeSet<A>where B: Ord,

§

type Output = BTreeSet<B, Global>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for BinaryHeap<A>where B: Ord,

§

type Output = BinaryHeap<B, Global>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for Bound<A>

§

type Output = Bound<B>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for Box<A>

§

type Output = Box<B, Global>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for Cell<A>

§

type Output = Cell<B>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B, V, S> FuncMap<A, B, TypeParam<0>> for HashMap<A, V, S>where B: Eq + Hash,

§

type Output = HashMap<B, V, RandomState>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B, S> FuncMap<A, B, TypeParam<0>> for HashSet<A, S>where B: Eq + Hash,

§

type Output = HashSet<B, RandomState>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>

§

type Output = IntoIter<B>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>

§

type Output = IntoIter<B, Global>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>where B: Eq + Hash,

§

type Output = IntoIter<B>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>where B: Ord,

§

type Output = IntoIter<B, Global>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>

§

type Output = IntoIter<B, Global>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>

§

type Output = IntoIter<B, Global>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>where B: Ord,

§

type Output = IntoIter<B, Global>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>

§

type Output = IntoIter<B>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B, V> FuncMap<A, B, TypeParam<0>> for IntoIter<A, V>where B: Eq + Hash,

§

type Output = IntoIter<B, V>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B, V> FuncMap<A, B, TypeParam<0>> for IntoIter<A, V>where B: Ord,

§

type Output = IntoIter<B, V, Global>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for LinkedList<A>

§

type Output = LinkedList<B, Global>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for Option<A>

§

type Output = Option<B>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for PhantomData<A>

§

type Output = PhantomData<B>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, _: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for Poll<A>

§

type Output = Poll<B>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for Range<A>

§

type Output = Range<B>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for RangeFrom<A>

§

type Output = RangeFrom<B>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for RangeInclusive<A>

§

type Output = RangeInclusive<B>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for RangeTo<A>

§

type Output = RangeTo<B>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for RangeToInclusive<A>

§

type Output = RangeToInclusive<B>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for RefCell<A>

§

type Output = RefCell<B>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B, U> FuncMap<A, B, TypeParam<0>> for Result<A, U>

§

type Output = Result<B, U>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for UnsafeCell<A>

§

type Output = UnsafeCell<B>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for Vec<A>

§

type Output = Vec<B, Global>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> FuncMap<A, B, TypeParam<0>> for VecDeque<A>

§

type Output = VecDeque<B, Global>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<K, A, B> FuncMap<A, B, TypeParam<1>> for BTreeMap<K, A>where K: Ord,

§

type Output = BTreeMap<K, B, Global>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<K, A, B, S> FuncMap<A, B, TypeParam<1>> for HashMap<K, A, S>where K: Eq + Hash,

§

type Output = HashMap<K, B, RandomState>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<K, A, B> FuncMap<A, B, TypeParam<1>> for IntoIter<K, A>where K: Ord,

§

type Output = IntoIter<K, B, Global>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<K, A, B> FuncMap<A, B, TypeParam<1>> for IntoIter<K, A>where K: Eq + Hash,

§

type Output = IntoIter<K, B>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<T, A, B> FuncMap<A, B, TypeParam<1>> for Result<T, A>

§

type Output = Result<T, B>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<T, U, C> FuncMap<T, U, TypeParam<0>> for ControlFlow<T, C>

§

type Output = ControlFlow<U, C>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(T) -> U,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<B, T, U> FuncMap<T, U, TypeParam<1>> for ControlFlow<B, T>

§

type Output = ControlFlow<B, U>

The output type of the functorial mapping Read more
source§

fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(T) -> U,

Applies the closure f to self in a functorial way
source§

fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B, Q: FuncMarker<P>,

Applies the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<const N: usize> Hash for TypeParam<N>

source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · source§

fn hash_slice<H>(data: &[Self], state: &mut H)where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
source§

impl<const N: usize> Ord for TypeParam<N>

source§

fn cmp(&self, other: &TypeParam<N>) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · source§

fn max(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · source§

fn min(self, other: Self) -> Selfwhere Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · source§

fn clamp(self, min: Self, max: Self) -> Selfwhere Self: Sized + PartialOrd<Self>,

Restrict a value to a certain interval. Read more
source§

impl<const N: usize> PartialEq<TypeParam<N>> for TypeParam<N>

source§

fn eq(&self, other: &TypeParam<N>) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl<const N: usize> PartialOrd<TypeParam<N>> for TypeParam<N>

source§

fn partial_cmp(&self, other: &TypeParam<N>) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · source§

fn lt(&self, other: &Rhs) -> bool

This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · source§

fn le(&self, other: &Rhs) -> bool

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · source§

fn gt(&self, other: &Rhs) -> bool

This method tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · source§

fn ge(&self, other: &Rhs) -> bool

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more
source§

impl<A, B, const N: usize> TryFuncMap<A, B, TypeParam<0>> for [A; N]

§

type Output = [B; N]

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B, V> TryFuncMap<A, B, TypeParam<0>> for BTreeMap<A, V>where B: Ord,

§

type Output = BTreeMap<B, V, Global>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for BTreeSet<A>where B: Ord,

§

type Output = BTreeSet<B, Global>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for BinaryHeap<A>where B: Ord,

§

type Output = BinaryHeap<B, Global>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for Bound<A>

§

type Output = Bound<B>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for Box<A>

§

type Output = Box<B, Global>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for Cell<A>

§

type Output = Cell<B>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B, V, S> TryFuncMap<A, B, TypeParam<0>> for HashMap<A, V, S>where B: Eq + Hash,

§

type Output = HashMap<B, V, RandomState>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B, S> TryFuncMap<A, B, TypeParam<0>> for HashSet<A, S>where B: Eq + Hash,

§

type Output = HashSet<B, RandomState>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>

§

type Output = IntoIter<B, Global>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>

§

type Output = IntoIter<B, Global>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>where B: Ord,

§

type Output = IntoIter<B, Global>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>

§

type Output = IntoIter<B>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>

§

type Output = IntoIter<B, Global>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>where B: Ord,

§

type Output = IntoIter<B, Global>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>

§

type Output = IntoIter<B>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>where B: Eq + Hash,

§

type Output = IntoIter<B>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B, V> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A, V>where B: Eq + Hash,

§

type Output = IntoIter<B, V>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B, V> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A, V>where B: Ord,

§

type Output = IntoIter<B, V, Global>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for LinkedList<A>

§

type Output = LinkedList<B, Global>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for Option<A>

§

type Output = Option<B>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for PhantomData<A>

§

type Output = PhantomData<B>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, _: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for Poll<A>

§

type Output = Poll<B>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for Range<A>

§

type Output = Range<B>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for RangeFrom<A>

§

type Output = RangeFrom<B>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for RangeInclusive<A>

§

type Output = RangeInclusive<B>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for RangeTo<A>

§

type Output = RangeTo<B>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for RangeToInclusive<A>

§

type Output = RangeToInclusive<B>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for RefCell<A>

§

type Output = RefCell<B>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B, U> TryFuncMap<A, B, TypeParam<0>> for Result<A, U>

§

type Output = Result<B, U>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for UnsafeCell<A>

§

type Output = UnsafeCell<B>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for Vec<A>

§

type Output = Vec<B, Global>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<A, B> TryFuncMap<A, B, TypeParam<0>> for VecDeque<A>

§

type Output = VecDeque<B, Global>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<K, A, B> TryFuncMap<A, B, TypeParam<1>> for BTreeMap<K, A>where K: Ord,

§

type Output = BTreeMap<K, B, Global>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<K, A, B, S> TryFuncMap<A, B, TypeParam<1>> for HashMap<K, A, S>where K: Eq + Hash,

§

type Output = HashMap<K, B, RandomState>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<K, A, B> TryFuncMap<A, B, TypeParam<1>> for IntoIter<K, A>where K: Ord,

§

type Output = IntoIter<K, B, Global>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<K, A, B> TryFuncMap<A, B, TypeParam<1>> for IntoIter<K, A>where K: Eq + Hash,

§

type Output = IntoIter<K, B>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<T, A, B> TryFuncMap<A, B, TypeParam<1>> for Result<T, A>

§

type Output = Result<T, B>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<T, U, C> TryFuncMap<T, U, TypeParam<0>> for ControlFlow<T, C>

§

type Output = ControlFlow<U, C>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(T) -> Result<U, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<B, T, U> TryFuncMap<T, U, TypeParam<1>> for ControlFlow<B, T>

§

type Output = ControlFlow<B, U>

The output type of the functorial mapping Read more
source§

fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(T) -> Result<U, E>,

Tries to apply the closure f to self in a functorial way Read more
source§

fn try_func_map_over<Q, E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>, Q: FuncMarker<P>,

Tries to apply the closure f to self in a functorial way, allowing explicit specification of the marker type P Read more
source§

impl<const N: usize> Copy for TypeParam<N>

source§

impl<const N: usize> Eq for TypeParam<N>

source§

impl<const N: usize> FuncMarker<TypeParam<N>> for TypeParam<N>

source§

impl<const N: usize> StructuralEq for TypeParam<N>

source§

impl<const N: usize> StructuralPartialEq for TypeParam<N>

Auto Trait Implementations§

§

impl<const N: usize> RefUnwindSafe for TypeParam<N>

§

impl<const N: usize> Send for TypeParam<N>

§

impl<const N: usize> Sync for TypeParam<N>

§

impl<const N: usize> Unpin for TypeParam<N>

§

impl<const N: usize> UnwindSafe for TypeParam<N>

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere 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 Twhere 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> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

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

§

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 Twhere U: TryFrom<T>,

§

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.