Struct icu_datetime::provider::gregory::day_periods::ContextsV1 [−][src]
pub struct ContextsV1 { pub format: FormatWidthsV1, pub stand_alone: Option<StandAloneWidthsV1>, }
Fields
format: FormatWidthsV1
stand_alone: Option<StandAloneWidthsV1>
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
type Output = Self
type Output = Self
This type MUST be Self
with the 'static
replaced with 'a
, i.e. Self<'a>
This method must cast self
between &'a Self<'static>
and &'a Self<'a>
. Read more
This method must cast self
between Self<'static>
and Self<'a>
. Read more
This method can be used to cast away Self<'a>
’s lifetime. Read more
fn transform_mut<F>(&'a mut self, f: F) where
F: 'static + for<'b> FnOnce(&'b mut Self::Output),
fn transform_mut<F>(&'a mut self, f: F) where
F: 'static + for<'b> FnOnce(&'b mut Self::Output),
This method must cast self
between &'a mut Self<'static>
and &'a mut Self<'a>
,
and pass it to f
. Read more
Clone the cart C
into a [Yokeable
] struct, which may retain references into C
.
Auto Trait Implementations
impl RefUnwindSafe for ContextsV1
impl Send for ContextsV1
impl Sync for ContextsV1
impl Unpin for ContextsV1
impl UnwindSafe for ContextsV1
Blanket Implementations
Mutably borrows from an owned value. Read more
Clone this trait object reference, returning a boxed trait object.