Struct icu_datetime::scaffold::DataPayloadWithVariables
source · pub struct DataPayloadWithVariables<M: DynamicDataMarker, Variables> { /* private fields */ }
Expand description
An implementation of MaybePayload
that wraps an optional [DataPayload
],
parameterized by Variables
.
Trait Implementations§
source§impl<M: DynamicDataMarker, Variables> Debug for DataPayloadWithVariables<M, Variables>
impl<M: DynamicDataMarker, Variables> Debug for DataPayloadWithVariables<M, Variables>
source§impl<M: DynamicDataMarker, Variables> From<()> for DataPayloadWithVariables<M, Variables>
impl<M: DynamicDataMarker, Variables> From<()> for DataPayloadWithVariables<M, Variables>
source§impl<M: DynamicDataMarker, Variables> MaybePayload<M, Variables> for DataPayloadWithVariables<M, Variables>
impl<M: DynamicDataMarker, Variables> MaybePayload<M, Variables> for DataPayloadWithVariables<M, Variables>
impl<M: DynamicDataMarker, Variables> UnstableSealed for DataPayloadWithVariables<M, Variables>
Auto Trait Implementations§
impl<M, Variables> Freeze for DataPayloadWithVariables<M, Variables>
impl<M, Variables> RefUnwindSafe for DataPayloadWithVariables<M, Variables>where
Variables: RefUnwindSafe,
<M as DynamicDataMarker>::DataStruct: RefUnwindSafe,
impl<M, Variables> Send for DataPayloadWithVariables<M, Variables>
impl<M, Variables> Sync for DataPayloadWithVariables<M, Variables>
impl<M, Variables> Unpin for DataPayloadWithVariables<M, Variables>
impl<M, Variables> UnwindSafe for DataPayloadWithVariables<M, Variables>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more