Enum icu_experimental::dimension::provider::pattern_key::PatternKey
source · pub enum PatternKey {
Binary(u8),
Decimal(i8),
Power {
power: PowerValue,
count: CompoundCount,
},
}
Variants§
Trait Implementations§
source§impl AsULE for PatternKey
impl AsULE for PatternKey
source§type ULE = PatternKeyULE
type ULE = PatternKeyULE
The ULE type corresponding to
Self
. Read moresource§fn to_unaligned(self) -> Self::ULE
fn to_unaligned(self) -> Self::ULE
source§fn from_unaligned(unaligned: Self::ULE) -> Self
fn from_unaligned(unaligned: Self::ULE) -> Self
source§impl Bake for PatternKey
impl Bake for PatternKey
source§fn bake(&self, env: &CrateEnv) -> TokenStream
fn bake(&self, env: &CrateEnv) -> TokenStream
source§impl BakeSize for PatternKey
impl BakeSize for PatternKey
source§fn borrows_size(&self) -> usize
fn borrows_size(&self) -> usize
Returns the size
source§impl Clone for PatternKey
impl Clone for PatternKey
source§fn clone(&self) -> PatternKey
fn clone(&self) -> PatternKey
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 Debug for PatternKey
impl Debug for PatternKey
source§impl<'de> Deserialize<'de> for PatternKey
impl<'de> Deserialize<'de> for PatternKey
source§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
source§impl Ord for PatternKey
impl Ord for PatternKey
source§fn cmp(&self, other: &PatternKey) -> Ordering
fn cmp(&self, other: &PatternKey) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for PatternKey
impl PartialEq for PatternKey
source§impl PartialOrd for PatternKey
impl PartialOrd for PatternKey
source§impl Serialize for PatternKey
impl Serialize for PatternKey
source§impl<'a> ZeroMapKV<'a> for PatternKey
impl<'a> ZeroMapKV<'a> for PatternKey
source§type Container = ZeroVec<'a, PatternKey>
type Container = ZeroVec<'a, PatternKey>
The container that can be used with this type: [
ZeroVec
] or [VarZeroVec
].type Slice = ZeroSlice<PatternKey>
source§type GetType = <PatternKey as AsULE>::ULE
type GetType = <PatternKey as AsULE>::ULE
The type produced by
Container::get()
Read moresource§type OwnedType = PatternKey
type OwnedType = PatternKey
The type produced by
Container::replace()
and Container::remove()
,
also used during deserialization. If Self
is human readable serialized,
deserializing to Self::OwnedType
should produce the same value once
passed through Self::owned_as_self()
Read moreimpl Copy for PatternKey
impl Eq for PatternKey
impl StructuralPartialEq for PatternKey
Auto Trait Implementations§
impl Freeze for PatternKey
impl RefUnwindSafe for PatternKey
impl Send for PatternKey
impl Sync for PatternKey
impl Unpin for PatternKey
impl UnwindSafe for PatternKey
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