Struct icu_datetime::provider::LengthPluralElements
source · pub struct LengthPluralElements<T> {
pub long: PluralElements<T>,
pub medium: PluralElements<T>,
pub short: PluralElements<T>,
}
Expand description
A field of PackedPatternsBuilder
.
Fields§
§long: PluralElements<T>
The “long” length pattern plural elements.
medium: PluralElements<T>
The “medium” length pattern plural elements.
short: PluralElements<T>
The “short” length pattern plural elements.
Trait Implementations§
source§impl<T: Clone> Clone for LengthPluralElements<T>
impl<T: Clone> Clone for LengthPluralElements<T>
source§fn clone(&self) -> LengthPluralElements<T>
fn clone(&self) -> LengthPluralElements<T>
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<T: Debug> Debug for LengthPluralElements<T>
impl<T: Debug> Debug for LengthPluralElements<T>
source§impl<T: PartialEq> PartialEq for LengthPluralElements<T>
impl<T: PartialEq> PartialEq for LengthPluralElements<T>
impl<T: Eq> Eq for LengthPluralElements<T>
impl<T> StructuralPartialEq for LengthPluralElements<T>
Auto Trait Implementations§
impl<T> Freeze for LengthPluralElements<T>where
T: Freeze,
impl<T> RefUnwindSafe for LengthPluralElements<T>where
T: RefUnwindSafe,
impl<T> Send for LengthPluralElements<T>where
T: Send,
impl<T> Sync for LengthPluralElements<T>where
T: Sync,
impl<T> Unpin for LengthPluralElements<T>where
T: Unpin,
impl<T> UnwindSafe for LengthPluralElements<T>where
T: UnwindSafe,
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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