pub struct FormatWidths<'data> {
    pub abbreviated: Symbols<'data>,
    pub narrow: Symbols<'data>,
    pub short: Option<Symbols<'data>>,
    pub wide: Symbols<'data>,
}Expand description
Symbol data for the “format” style formatting of DayPeriod.
The format style is used in contexts where it is different from the stand-alone form, ex: a case inflected form where the stand-alone form is the nominative case.
🚧 This code is considered unstable; it may change at any time, in breaking or non-breaking ways,
including in SemVer minor releases. While the serde representation of data structs is guaranteed
to be stable, their Rust representation might not be. Use with caution.
Fields§
§abbreviated: Symbols<'data>Abbreviated length symbol for “format” style symbol for day_periods.
narrow: Symbols<'data>Narrow length symbol for “format” style symbol for day_periods.
short: Option<Symbols<'data>>Short length symbol for “format” style symbol for day_periods, if present.
wide: Symbols<'data>Wide length symbol for “format” style symbol for day_periods.
Trait Implementations§
Source§impl<'data> Clone for FormatWidths<'data>
 
impl<'data> Clone for FormatWidths<'data>
Source§fn clone(&self) -> FormatWidths<'data>
 
fn clone(&self) -> FormatWidths<'data>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
 
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from 
source. Read moreSource§impl<'data> Debug for FormatWidths<'data>
 
impl<'data> Debug for FormatWidths<'data>
Source§impl<'data> Default for FormatWidths<'data>
 
impl<'data> Default for FormatWidths<'data>
Source§fn default() -> FormatWidths<'data>
 
fn default() -> FormatWidths<'data>
Returns the “default value” for a type. Read more
Source§impl<'de, 'data> Deserialize<'de> for FormatWidths<'data>where
    'de: 'data,
 
impl<'de, 'data> Deserialize<'de> for FormatWidths<'data>where
    'de: 'data,
Source§fn deserialize<__D>(
    __deserializer: __D,
) -> Result<FormatWidths<'data>, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
 
fn deserialize<__D>(
    __deserializer: __D,
) -> Result<FormatWidths<'data>, <__D as Deserializer<'de>>::Error>where
    __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<'data> PartialEq for FormatWidths<'data>
 
impl<'data> PartialEq for FormatWidths<'data>
Source§impl<'a> Yokeable<'a> for FormatWidths<'static>
 
impl<'a> Yokeable<'a> for FormatWidths<'static>
Source§type Output = FormatWidths<'a>
 
type Output = FormatWidths<'a>
This type MUST be 
Self with the 'static replaced with 'a, i.e. Self<'a>Source§fn transform_owned(self) -> <FormatWidths<'static> as Yokeable<'a>>::Output
 
fn transform_owned(self) -> <FormatWidths<'static> as Yokeable<'a>>::Output
Source§unsafe fn make(
    this: <FormatWidths<'static> as Yokeable<'a>>::Output,
) -> FormatWidths<'static>
 
unsafe fn make( this: <FormatWidths<'static> as Yokeable<'a>>::Output, ) -> FormatWidths<'static>
This method can be used to cast away 
Self<'a>’s lifetime. Read moreSource§fn transform_mut<F>(&'a mut self, f: F)
 
fn transform_mut<F>(&'a mut self, f: F)
This method must cast 
self between &'a mut Self<'static> and &'a mut Self<'a>,
and pass it to f. Read moreSource§impl<'zf, 'zf_inner> ZeroFrom<'zf, FormatWidths<'zf_inner>> for FormatWidths<'zf>
 
impl<'zf, 'zf_inner> ZeroFrom<'zf, FormatWidths<'zf_inner>> for FormatWidths<'zf>
Source§fn zero_from(this: &'zf FormatWidths<'zf_inner>) -> FormatWidths<'zf>
 
fn zero_from(this: &'zf FormatWidths<'zf_inner>) -> FormatWidths<'zf>
Clone the other 
C into a struct that may retain references into C.impl<'data> StructuralPartialEq for FormatWidths<'data>
Auto Trait Implementations§
impl<'data> Freeze for FormatWidths<'data>
impl<'data> RefUnwindSafe for FormatWidths<'data>
impl<'data> Send for FormatWidths<'data>
impl<'data> Sync for FormatWidths<'data>
impl<'data> Unpin for FormatWidths<'data>
impl<'data> UnwindSafe for FormatWidths<'data>
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> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
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