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>
,
TypeParam<0>
refers toS
andTypeParam<1>
refers toT
and for a type Foo<'a, const N: usize, S, const M: usize, T>
,
TypeParam<1>
refers toS
andTypeParam<3>
refers toT
Trait Implementations§
source§impl<A, B, const N: usize> FuncMap<A, B, TypeParam<0>> for [A; N]
impl<A, B, const N: usize> FuncMap<A, B, TypeParam<0>> for [A; N]
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B, V> FuncMap<A, B, TypeParam<0>> for BTreeMap<A, V>where
B: Ord,
impl<A, B, V> FuncMap<A, B, TypeParam<0>> for BTreeMap<A, V>where B: Ord,
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for BTreeSet<A>where
B: Ord,
impl<A, B> FuncMap<A, B, TypeParam<0>> for BTreeSet<A>where B: Ord,
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for BinaryHeap<A>where
B: Ord,
impl<A, B> FuncMap<A, B, TypeParam<0>> for BinaryHeap<A>where B: Ord,
§type Output = BinaryHeap<B, Global>
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,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for Bound<A>
impl<A, B> FuncMap<A, B, TypeParam<0>> for Bound<A>
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for Box<A>
impl<A, B> FuncMap<A, B, TypeParam<0>> for Box<A>
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for Cell<A>
impl<A, B> FuncMap<A, B, TypeParam<0>> for Cell<A>
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B, V, S> FuncMap<A, B, TypeParam<0>> for HashMap<A, V, S>where
B: Eq + Hash,
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>
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,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B, S> FuncMap<A, B, TypeParam<0>> for HashSet<A, S>where
B: Eq + Hash,
impl<A, B, S> FuncMap<A, B, TypeParam<0>> for HashSet<A, S>where B: Eq + Hash,
§type Output = HashSet<B, RandomState>
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,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>
impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>
impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>where
B: Eq + Hash,
impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>where B: Eq + Hash,
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>where
B: Ord,
impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>where B: Ord,
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>
impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>
impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>where
B: Ord,
impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>where B: Ord,
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>
impl<A, B> FuncMap<A, B, TypeParam<0>> for IntoIter<A>
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B, V> FuncMap<A, B, TypeParam<0>> for IntoIter<A, V>where
B: Eq + Hash,
impl<A, B, V> FuncMap<A, B, TypeParam<0>> for IntoIter<A, V>where B: Eq + Hash,
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B, V> FuncMap<A, B, TypeParam<0>> for IntoIter<A, V>where
B: Ord,
impl<A, B, V> FuncMap<A, B, TypeParam<0>> for IntoIter<A, V>where B: Ord,
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for LinkedList<A>
impl<A, B> FuncMap<A, B, TypeParam<0>> for LinkedList<A>
§type Output = LinkedList<B, Global>
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,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for Option<A>
impl<A, B> FuncMap<A, B, TypeParam<0>> for Option<A>
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for PhantomData<A>
impl<A, B> FuncMap<A, B, TypeParam<0>> for PhantomData<A>
§type Output = PhantomData<B>
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,
fn func_map<F>(self, _: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for Poll<A>
impl<A, B> FuncMap<A, B, TypeParam<0>> for Poll<A>
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for Range<A>
impl<A, B> FuncMap<A, B, TypeParam<0>> for Range<A>
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for RangeFrom<A>
impl<A, B> FuncMap<A, B, TypeParam<0>> for RangeFrom<A>
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for RangeInclusive<A>
impl<A, B> FuncMap<A, B, TypeParam<0>> for RangeInclusive<A>
§type Output = RangeInclusive<B>
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,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for RangeTo<A>
impl<A, B> FuncMap<A, B, TypeParam<0>> for RangeTo<A>
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for RangeToInclusive<A>
impl<A, B> FuncMap<A, B, TypeParam<0>> for RangeToInclusive<A>
§type Output = RangeToInclusive<B>
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,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for RefCell<A>
impl<A, B> FuncMap<A, B, TypeParam<0>> for RefCell<A>
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B, U> FuncMap<A, B, TypeParam<0>> for Result<A, U>
impl<A, B, U> FuncMap<A, B, TypeParam<0>> for Result<A, U>
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for UnsafeCell<A>
impl<A, B> FuncMap<A, B, TypeParam<0>> for UnsafeCell<A>
§type Output = UnsafeCell<B>
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,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for Vec<A>
impl<A, B> FuncMap<A, B, TypeParam<0>> for Vec<A>
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<A, B> FuncMap<A, B, TypeParam<0>> for VecDeque<A>
impl<A, B> FuncMap<A, B, TypeParam<0>> for VecDeque<A>
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<K, A, B> FuncMap<A, B, TypeParam<1>> for BTreeMap<K, A>where
K: Ord,
impl<K, A, B> FuncMap<A, B, TypeParam<1>> for BTreeMap<K, A>where K: Ord,
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<K, A, B, S> FuncMap<A, B, TypeParam<1>> for HashMap<K, A, S>where
K: Eq + Hash,
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>
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,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<K, A, B> FuncMap<A, B, TypeParam<1>> for IntoIter<K, A>where
K: Ord,
impl<K, A, B> FuncMap<A, B, TypeParam<1>> for IntoIter<K, A>where K: Ord,
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<K, A, B> FuncMap<A, B, TypeParam<1>> for IntoIter<K, A>where
K: Eq + Hash,
impl<K, A, B> FuncMap<A, B, TypeParam<1>> for IntoIter<K, A>where K: Eq + Hash,
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<T, A, B> FuncMap<A, B, TypeParam<1>> for Result<T, A>
impl<T, A, B> FuncMap<A, B, TypeParam<1>> for Result<T, A>
source§fn func_map<F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(A) -> B,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<T, U, C> FuncMap<T, U, TypeParam<0>> for ControlFlow<T, C>
impl<T, U, C> FuncMap<T, U, TypeParam<0>> for ControlFlow<T, C>
§type Output = ControlFlow<U, 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,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(T) -> U,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<B, T, U> FuncMap<T, U, TypeParam<1>> for ControlFlow<B, T>
impl<B, T, U> FuncMap<T, U, TypeParam<1>> for ControlFlow<B, T>
§type Output = ControlFlow<B, U>
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,
fn func_map<F>(self, f: F) -> Self::Outputwhere F: FnMut(T) -> U,
Applies the closure
f
to self
in a functorial waysource§fn func_map_over<Q, F>(self, f: F) -> Self::Outputwhere
F: FnMut(A) -> B,
Q: FuncMarker<P>,
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 moresource§impl<const N: usize> Ord for TypeParam<N>
impl<const N: usize> Ord for TypeParam<N>
1.21.0 · 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<const N: usize> PartialEq<TypeParam<N>> for TypeParam<N>
impl<const N: usize> PartialEq<TypeParam<N>> for TypeParam<N>
source§impl<const N: usize> PartialOrd<TypeParam<N>> for TypeParam<N>
impl<const N: usize> PartialOrd<TypeParam<N>> for TypeParam<N>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
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 moresource§impl<A, B, const N: usize> TryFuncMap<A, B, TypeParam<0>> for [A; N]
impl<A, B, const N: usize> TryFuncMap<A, B, TypeParam<0>> for [A; N]
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B, V> TryFuncMap<A, B, TypeParam<0>> for BTreeMap<A, V>where
B: Ord,
impl<A, B, V> TryFuncMap<A, B, TypeParam<0>> for BTreeMap<A, V>where B: Ord,
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for BTreeSet<A>where
B: Ord,
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for BTreeSet<A>where B: Ord,
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for BinaryHeap<A>where
B: Ord,
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for BinaryHeap<A>where B: Ord,
§type Output = BinaryHeap<B, Global>
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>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for Bound<A>
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for Bound<A>
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for Box<A>
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for Box<A>
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for Cell<A>
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for Cell<A>
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B, V, S> TryFuncMap<A, B, TypeParam<0>> for HashMap<A, V, S>where
B: Eq + Hash,
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>
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>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B, S> TryFuncMap<A, B, TypeParam<0>> for HashSet<A, S>where
B: Eq + Hash,
impl<A, B, S> TryFuncMap<A, B, TypeParam<0>> for HashSet<A, S>where B: Eq + Hash,
§type Output = HashSet<B, RandomState>
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>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>where
B: Ord,
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>where B: Ord,
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>where
B: Ord,
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>where B: Ord,
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>where
B: Eq + Hash,
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A>where B: Eq + Hash,
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B, V> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A, V>where
B: Eq + Hash,
impl<A, B, V> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A, V>where B: Eq + Hash,
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B, V> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A, V>where
B: Ord,
impl<A, B, V> TryFuncMap<A, B, TypeParam<0>> for IntoIter<A, V>where B: Ord,
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for LinkedList<A>
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for LinkedList<A>
§type Output = LinkedList<B, Global>
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>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for Option<A>
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for Option<A>
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for PhantomData<A>
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for PhantomData<A>
§type Output = PhantomData<B>
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>,
fn try_func_map<E, F>(self, _: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for Poll<A>
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for Poll<A>
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for Range<A>
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for Range<A>
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for RangeFrom<A>
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for RangeFrom<A>
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for RangeInclusive<A>
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for RangeInclusive<A>
§type Output = RangeInclusive<B>
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>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for RangeTo<A>
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for RangeTo<A>
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for RangeToInclusive<A>
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for RangeToInclusive<A>
§type Output = RangeToInclusive<B>
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>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for RefCell<A>
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for RefCell<A>
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B, U> TryFuncMap<A, B, TypeParam<0>> for Result<A, U>
impl<A, B, U> TryFuncMap<A, B, TypeParam<0>> for Result<A, U>
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for UnsafeCell<A>
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for UnsafeCell<A>
§type Output = UnsafeCell<B>
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>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for Vec<A>
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for Vec<A>
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<A, B> TryFuncMap<A, B, TypeParam<0>> for VecDeque<A>
impl<A, B> TryFuncMap<A, B, TypeParam<0>> for VecDeque<A>
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<K, A, B> TryFuncMap<A, B, TypeParam<1>> for BTreeMap<K, A>where
K: Ord,
impl<K, A, B> TryFuncMap<A, B, TypeParam<1>> for BTreeMap<K, A>where K: Ord,
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<K, A, B, S> TryFuncMap<A, B, TypeParam<1>> for HashMap<K, A, S>where
K: Eq + Hash,
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>
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>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<K, A, B> TryFuncMap<A, B, TypeParam<1>> for IntoIter<K, A>where
K: Ord,
impl<K, A, B> TryFuncMap<A, B, TypeParam<1>> for IntoIter<K, A>where K: Ord,
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<K, A, B> TryFuncMap<A, B, TypeParam<1>> for IntoIter<K, A>where
K: Eq + Hash,
impl<K, A, B> TryFuncMap<A, B, TypeParam<1>> for IntoIter<K, A>where K: Eq + Hash,
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<T, A, B> TryFuncMap<A, B, TypeParam<1>> for Result<T, A>
impl<T, A, B> TryFuncMap<A, B, TypeParam<1>> for Result<T, A>
source§fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where
F: FnMut(A) -> Result<B, E>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(A) -> Result<B, E>,
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>,
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 moresource§impl<T, U, C> TryFuncMap<T, U, TypeParam<0>> for ControlFlow<T, C>
impl<T, U, C> TryFuncMap<T, U, TypeParam<0>> for ControlFlow<T, C>
§type Output = ControlFlow<U, 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>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(T) -> Result<U, E>,
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>,
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 moresource§impl<B, T, U> TryFuncMap<T, U, TypeParam<1>> for ControlFlow<B, T>
impl<B, T, U> TryFuncMap<T, U, TypeParam<1>> for ControlFlow<B, T>
§type Output = ControlFlow<B, U>
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>,
fn try_func_map<E, F>(self, f: F) -> Result<Self::Output, E>where F: FnMut(T) -> Result<U, E>,
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>,
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 moreimpl<const N: usize> Copy for TypeParam<N>
impl<const N: usize> Eq for TypeParam<N>
impl<const N: usize> FuncMarker<TypeParam<N>> for TypeParam<N>
impl<const N: usize> StructuralEq for TypeParam<N>
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> 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