pub enum Query {}
Expand description
Marker type indicating use of a type for the query Part
of a URI.
In route URIs, this corresponds to all of the text after a ?
, if any.
#[get("/home/<name>/<page>?<item>&<form..>")]
^-------------- Query
Trait Implementations
impl<'a, K, V, A, B> FromUriParam<Query, &'a BTreeMap<A, B>> for HashMap<K, V, RandomState> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
impl<'a, K, V, A, B> FromUriParam<Query, &'a BTreeMap<A, B>> for HashMap<K, V, RandomState> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
fn from_uri_param(
param: &'a BTreeMap<A, B>
) -> <HashMap<K, V, RandomState> as FromUriParam<Query, &'a BTreeMap<A, B>>>::Target
fn from_uri_param(
param: &'a BTreeMap<A, B>
) -> <HashMap<K, V, RandomState> as FromUriParam<Query, &'a BTreeMap<A, B>>>::Target
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
impl<'a, K, V, A, B> FromUriParam<Query, &'a BTreeMap<A, B>> for BTreeMap<K, V> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
impl<'a, K, V, A, B> FromUriParam<Query, &'a BTreeMap<A, B>> for BTreeMap<K, V> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
fn from_uri_param(
param: &'a BTreeMap<A, B>
) -> <BTreeMap<K, V> as FromUriParam<Query, &'a BTreeMap<A, B>>>::Target
fn from_uri_param(
param: &'a BTreeMap<A, B>
) -> <BTreeMap<K, V> as FromUriParam<Query, &'a BTreeMap<A, B>>>::Target
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
impl<'a, K, V, A, B> FromUriParam<Query, &'a HashMap<A, B, RandomState>> for BTreeMap<K, V> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
impl<'a, K, V, A, B> FromUriParam<Query, &'a HashMap<A, B, RandomState>> for BTreeMap<K, V> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
type Target = &'a HashMap<A, B, RandomState>
type Target = &'a HashMap<A, B, RandomState>
The resulting type of this conversion.
fn from_uri_param(
param: &'a HashMap<A, B, RandomState>
) -> <BTreeMap<K, V> as FromUriParam<Query, &'a HashMap<A, B, RandomState>>>::Target
fn from_uri_param(
param: &'a HashMap<A, B, RandomState>
) -> <BTreeMap<K, V> as FromUriParam<Query, &'a HashMap<A, B, RandomState>>>::Target
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
impl<'a, K, V, A, B> FromUriParam<Query, &'a HashMap<A, B, RandomState>> for HashMap<K, V, RandomState> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
impl<'a, K, V, A, B> FromUriParam<Query, &'a HashMap<A, B, RandomState>> for HashMap<K, V, RandomState> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
type Target = &'a HashMap<A, B, RandomState>
type Target = &'a HashMap<A, B, RandomState>
The resulting type of this conversion.
fn from_uri_param(
param: &'a HashMap<A, B, RandomState>
) -> <HashMap<K, V, RandomState> as FromUriParam<Query, &'a HashMap<A, B, RandomState>>>::Target
fn from_uri_param(
param: &'a HashMap<A, B, RandomState>
) -> <HashMap<K, V, RandomState> as FromUriParam<Query, &'a HashMap<A, B, RandomState>>>::Target
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
sourceimpl<'a, T: Serialize> FromUriParam<Query, &'a T> for Json<T>
Available on crate feature json
only.
impl<'a, T: Serialize> FromUriParam<Query, &'a T> for Json<T>
json
only.sourcefn from_uri_param(param: &'a T) -> Self::Target
fn from_uri_param(param: &'a T) -> Self::Target
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
impl<'a, K, V, A, B> FromUriParam<Query, &'a mut BTreeMap<A, B>> for BTreeMap<K, V> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
impl<'a, K, V, A, B> FromUriParam<Query, &'a mut BTreeMap<A, B>> for BTreeMap<K, V> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
fn from_uri_param(
param: &'a mut BTreeMap<A, B>
) -> <BTreeMap<K, V> as FromUriParam<Query, &'a mut BTreeMap<A, B>>>::Target
fn from_uri_param(
param: &'a mut BTreeMap<A, B>
) -> <BTreeMap<K, V> as FromUriParam<Query, &'a mut BTreeMap<A, B>>>::Target
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
impl<'a, K, V, A, B> FromUriParam<Query, &'a mut BTreeMap<A, B>> for HashMap<K, V, RandomState> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
impl<'a, K, V, A, B> FromUriParam<Query, &'a mut BTreeMap<A, B>> for HashMap<K, V, RandomState> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
fn from_uri_param(
param: &'a mut BTreeMap<A, B>
) -> <HashMap<K, V, RandomState> as FromUriParam<Query, &'a mut BTreeMap<A, B>>>::Target
fn from_uri_param(
param: &'a mut BTreeMap<A, B>
) -> <HashMap<K, V, RandomState> as FromUriParam<Query, &'a mut BTreeMap<A, B>>>::Target
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
impl<'a, K, V, A, B> FromUriParam<Query, &'a mut HashMap<A, B, RandomState>> for HashMap<K, V, RandomState> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
impl<'a, K, V, A, B> FromUriParam<Query, &'a mut HashMap<A, B, RandomState>> for HashMap<K, V, RandomState> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
type Target = &'a HashMap<A, B, RandomState>
type Target = &'a HashMap<A, B, RandomState>
The resulting type of this conversion.
fn from_uri_param(
param: &'a mut HashMap<A, B, RandomState>
) -> <HashMap<K, V, RandomState> as FromUriParam<Query, &'a mut HashMap<A, B, RandomState>>>::Target
fn from_uri_param(
param: &'a mut HashMap<A, B, RandomState>
) -> <HashMap<K, V, RandomState> as FromUriParam<Query, &'a mut HashMap<A, B, RandomState>>>::Target
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
impl<'a, K, V, A, B> FromUriParam<Query, &'a mut HashMap<A, B, RandomState>> for BTreeMap<K, V> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
impl<'a, K, V, A, B> FromUriParam<Query, &'a mut HashMap<A, B, RandomState>> for BTreeMap<K, V> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
type Target = &'a HashMap<A, B, RandomState>
type Target = &'a HashMap<A, B, RandomState>
The resulting type of this conversion.
fn from_uri_param(
param: &'a mut HashMap<A, B, RandomState>
) -> <BTreeMap<K, V> as FromUriParam<Query, &'a mut HashMap<A, B, RandomState>>>::Target
fn from_uri_param(
param: &'a mut HashMap<A, B, RandomState>
) -> <BTreeMap<K, V> as FromUriParam<Query, &'a mut HashMap<A, B, RandomState>>>::Target
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
sourceimpl<'a, T: Serialize> FromUriParam<Query, &'a mut T> for Json<T>
Available on crate feature json
only.
impl<'a, T: Serialize> FromUriParam<Query, &'a mut T> for Json<T>
json
only.sourcefn from_uri_param(param: &'a mut T) -> Self::Target
fn from_uri_param(param: &'a mut T) -> Self::Target
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
sourceimpl<'x, T: Serialize> FromUriParam<Query, &'x Json<T>> for Json<T>
Available on crate feature json
only.
impl<'x, T: Serialize> FromUriParam<Query, &'x Json<T>> for Json<T>
json
only.sourcefn from_uri_param(param: &'x Json<T>) -> &'x Json<T>
fn from_uri_param(param: &'x Json<T>) -> &'x Json<T>
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
sourceimpl<'x, T: Serialize> FromUriParam<Query, &'x mut Json<T>> for Json<T>
Available on crate feature json
only.
impl<'x, T: Serialize> FromUriParam<Query, &'x mut Json<T>> for Json<T>
json
only.sourcefn from_uri_param(param: &'x mut Json<T>) -> &'x mut Json<T>
fn from_uri_param(param: &'x mut Json<T>) -> &'x mut Json<T>
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
sourceimpl<'f, A, T: FromUriParam<Query, A> + FromForm<'f>> FromUriParam<Query, A> for Strict<T>
impl<'f, A, T: FromUriParam<Query, A> + FromForm<'f>> FromUriParam<Query, A> for Strict<T>
type Target = <T as FromUriParam<Query, A>>::Target
type Target = <T as FromUriParam<Query, A>>::Target
The resulting type of this conversion.
sourcefn from_uri_param(param: A) -> Self::Target
fn from_uri_param(param: A) -> Self::Target
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
sourceimpl<'f, A, T: FromUriParam<Query, A> + FromForm<'f>> FromUriParam<Query, A> for Lenient<T>
impl<'f, A, T: FromUriParam<Query, A> + FromForm<'f>> FromUriParam<Query, A> for Lenient<T>
type Target = <T as FromUriParam<Query, A>>::Target
type Target = <T as FromUriParam<Query, A>>::Target
The resulting type of this conversion.
sourcefn from_uri_param(param: A) -> Self::Target
fn from_uri_param(param: A) -> Self::Target
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
impl<K, V, A, B> FromUriParam<Query, BTreeMap<A, B>> for HashMap<K, V, RandomState> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
impl<K, V, A, B> FromUriParam<Query, BTreeMap<A, B>> for HashMap<K, V, RandomState> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
fn from_uri_param(
param: BTreeMap<A, B>
) -> <HashMap<K, V, RandomState> as FromUriParam<Query, BTreeMap<A, B>>>::Target
fn from_uri_param(
param: BTreeMap<A, B>
) -> <HashMap<K, V, RandomState> as FromUriParam<Query, BTreeMap<A, B>>>::Target
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
impl<K, V, A, B> FromUriParam<Query, BTreeMap<A, B>> for BTreeMap<K, V> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
impl<K, V, A, B> FromUriParam<Query, BTreeMap<A, B>> for BTreeMap<K, V> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
fn from_uri_param(
param: BTreeMap<A, B>
) -> <BTreeMap<K, V> as FromUriParam<Query, BTreeMap<A, B>>>::Target
fn from_uri_param(
param: BTreeMap<A, B>
) -> <BTreeMap<K, V> as FromUriParam<Query, BTreeMap<A, B>>>::Target
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
impl<K, V, A, B> FromUriParam<Query, HashMap<A, B, RandomState>> for HashMap<K, V, RandomState> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
impl<K, V, A, B> FromUriParam<Query, HashMap<A, B, RandomState>> for HashMap<K, V, RandomState> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
type Target = HashMap<A, B, RandomState>
type Target = HashMap<A, B, RandomState>
The resulting type of this conversion.
fn from_uri_param(
param: HashMap<A, B, RandomState>
) -> <HashMap<K, V, RandomState> as FromUriParam<Query, HashMap<A, B, RandomState>>>::Target
fn from_uri_param(
param: HashMap<A, B, RandomState>
) -> <HashMap<K, V, RandomState> as FromUriParam<Query, HashMap<A, B, RandomState>>>::Target
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
impl<K, V, A, B> FromUriParam<Query, HashMap<A, B, RandomState>> for BTreeMap<K, V> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
impl<K, V, A, B> FromUriParam<Query, HashMap<A, B, RandomState>> for BTreeMap<K, V> where
A: UriDisplay<Query>,
K: FromUriParam<Query, A>,
B: UriDisplay<Query>,
V: FromUriParam<Query, B>,
type Target = HashMap<A, B, RandomState>
type Target = HashMap<A, B, RandomState>
The resulting type of this conversion.
fn from_uri_param(
param: HashMap<A, B, RandomState>
) -> <BTreeMap<K, V> as FromUriParam<Query, HashMap<A, B, RandomState>>>::Target
fn from_uri_param(
param: HashMap<A, B, RandomState>
) -> <BTreeMap<K, V> as FromUriParam<Query, HashMap<A, B, RandomState>>>::Target
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
sourceimpl<T: Serialize> FromUriParam<Query, Json<T>> for Json<T>
Available on crate feature json
only.
impl<T: Serialize> FromUriParam<Query, Json<T>> for Json<T>
json
only.sourcefn from_uri_param(param: Json<T>) -> Json<T>
fn from_uri_param(param: Json<T>) -> Json<T>
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
impl<A, T> FromUriParam<Query, Option<A>> for Option<T> where
T: FromUriParam<Query, A>,
impl<A, T> FromUriParam<Query, Option<A>> for Option<T> where
T: FromUriParam<Query, A>,
type Target = Option<<T as FromUriParam<Query, A>>::Target>
type Target = Option<<T as FromUriParam<Query, A>>::Target>
The resulting type of this conversion.
fn from_uri_param(
param: Option<A>
) -> <Option<T> as FromUriParam<Query, Option<A>>>::Target
fn from_uri_param(
param: Option<A>
) -> <Option<T> as FromUriParam<Query, Option<A>>>::Target
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
impl<A, E, T> FromUriParam<Query, Option<A>> for Result<T, E> where
T: FromUriParam<Query, A>,
impl<A, E, T> FromUriParam<Query, Option<A>> for Result<T, E> where
T: FromUriParam<Query, A>,
type Target = Option<<T as FromUriParam<Query, A>>::Target>
type Target = Option<<T as FromUriParam<Query, A>>::Target>
The resulting type of this conversion.
fn from_uri_param(
param: Option<A>
) -> <Result<T, E> as FromUriParam<Query, Option<A>>>::Target
fn from_uri_param(
param: Option<A>
) -> <Result<T, E> as FromUriParam<Query, Option<A>>>::Target
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
impl<A, E, T> FromUriParam<Query, Result<A, E>> for Result<T, E> where
T: FromUriParam<Query, A>,
impl<A, E, T> FromUriParam<Query, Result<A, E>> for Result<T, E> where
T: FromUriParam<Query, A>,
type Target = Result<<T as FromUriParam<Query, A>>::Target, E>
type Target = Result<<T as FromUriParam<Query, A>>::Target, E>
The resulting type of this conversion.
fn from_uri_param(
param: Result<A, E>
) -> <Result<T, E> as FromUriParam<Query, Result<A, E>>>::Target
fn from_uri_param(
param: Result<A, E>
) -> <Result<T, E> as FromUriParam<Query, Result<A, E>>>::Target
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
impl<A, E, T> FromUriParam<Query, Result<A, E>> for Option<T> where
T: FromUriParam<Query, A>,
impl<A, E, T> FromUriParam<Query, Result<A, E>> for Option<T> where
T: FromUriParam<Query, A>,
type Target = Result<<T as FromUriParam<Query, A>>::Target, E>
type Target = Result<<T as FromUriParam<Query, A>>::Target, E>
The resulting type of this conversion.
fn from_uri_param(
param: Result<A, E>
) -> <Option<T> as FromUriParam<Query, Result<A, E>>>::Target
fn from_uri_param(
param: Result<A, E>
) -> <Option<T> as FromUriParam<Query, Result<A, E>>>::Target
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
sourceimpl<T: Serialize> FromUriParam<Query, T> for Json<T>
Available on crate feature json
only.
impl<T: Serialize> FromUriParam<Query, T> for Json<T>
json
only.sourcefn from_uri_param(param: T) -> Self::Target
fn from_uri_param(param: T) -> Self::Target
Converts a value of type T
into a value of type Self::Target
. The
resulting value of type Self::Target
will be rendered into a URI using
its UriDisplay
implementation. Read more
impl<T> UriDisplay<Query> for Vec<T, Global> where
T: UriDisplay<Query>,
impl<T> UriDisplay<Query> for Vec<T, Global> where
T: UriDisplay<Query>,
impl<T> UriDisplay<Query> for Option<T> where
T: UriDisplay<Query>,
impl<T> UriDisplay<Query> for Option<T> where
T: UriDisplay<Query>,
Defers to the UriDisplay<Query>
implementation for T
.
impl<K, V> UriDisplay<Query> for HashMap<K, V, RandomState> where
K: UriDisplay<Query>,
V: UriDisplay<Query>,
impl<K, V> UriDisplay<Query> for HashMap<K, V, RandomState> where
K: UriDisplay<Query>,
V: UriDisplay<Query>,
impl<K, V> UriDisplay<Query> for BTreeMap<K, V> where
K: UriDisplay<Query>,
V: UriDisplay<Query>,
impl<K, V> UriDisplay<Query> for BTreeMap<K, V> where
K: UriDisplay<Query>,
V: UriDisplay<Query>,
impl<T, E> UriDisplay<Query> for Result<T, E> where
T: UriDisplay<Query>,
impl<T, E> UriDisplay<Query> for Result<T, E> where
T: UriDisplay<Query>,
Defers to the UriDisplay<Query>
implementation for T
.
sourceimpl<T: Serialize> UriDisplay<Query> for Json<T>
Available on crate feature json
only.
impl<T: Serialize> UriDisplay<Query> for Json<T>
json
only.sourcefn fmt(&self, f: &mut UriFormatter<'_, Query>) -> Result
fn fmt(&self, f: &mut UriFormatter<'_, Query>) -> Result
Formats self
in a URI-safe manner using the given formatter.
impl Copy for Query
impl<T> Ignorable<Query> for Option<T>
impl<T, E> Ignorable<Query> for Result<T, E>
impl Part for Query
Auto Trait Implementations
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
Blanket Implementations
impl<'a, T> AsTaggedExplicit<'a> for T where
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for T where
T: 'a,
fn explicit(self, class: Class, tag: u32) -> TaggedParser<'a, Explicit, Self>
impl<'a, T> AsTaggedImplicit<'a> for T where
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for T where
T: 'a,
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A> where
A: Array<Item = T>,
Converts self
into a collection.
fn mapped<U, F, A>(self, f: F) -> SmallVec<A> where
F: FnMut(T) -> U,
A: Array<Item = U>,
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
fn vzip(self) -> V
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more