Enum icu::experimental::dimension::provider::currency::PatternSelection
source · #[repr(u8)]pub enum PatternSelection {
Standard = 0,
StandardAlphaNextToNumber = 1,
}
Variants§
Standard = 0
Use the standard pattern.
StandardAlphaNextToNumber = 1
Use the standard_alpha_next_to_number pattern.
Trait Implementations§
source§impl AsULE for PatternSelection
impl AsULE for PatternSelection
source§type ULE = PatternSelectionULE
type ULE = PatternSelectionULE
The ULE type corresponding to
Self
. Read moresource§fn to_unaligned(self) -> <PatternSelection as AsULE>::ULE
fn to_unaligned(self) -> <PatternSelection as AsULE>::ULE
source§fn from_unaligned(other: <PatternSelection as AsULE>::ULE) -> PatternSelection
fn from_unaligned(other: <PatternSelection as AsULE>::ULE) -> PatternSelection
source§impl Bake for PatternSelection
impl Bake for PatternSelection
source§fn bake(&self, env: &CrateEnv) -> TokenStream
fn bake(&self, env: &CrateEnv) -> TokenStream
source§impl BakeSize for PatternSelection
impl BakeSize for PatternSelection
source§fn borrows_size(&self) -> usize
fn borrows_size(&self) -> usize
Returns the size
source§impl Clone for PatternSelection
impl Clone for PatternSelection
source§fn clone(&self) -> PatternSelection
fn clone(&self) -> PatternSelection
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 PatternSelection
impl Debug for PatternSelection
source§impl Default for PatternSelection
impl Default for PatternSelection
source§fn default() -> PatternSelection
fn default() -> PatternSelection
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PatternSelection
impl<'de> Deserialize<'de> for PatternSelection
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PatternSelection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PatternSelection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for PatternSelection
impl Ord for PatternSelection
source§fn cmp(&self, other: &PatternSelection) -> Ordering
fn cmp(&self, other: &PatternSelection) -> 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 PatternSelection
impl PartialEq for PatternSelection
source§impl PartialOrd for PatternSelection
impl PartialOrd for PatternSelection
source§impl Serialize for PatternSelection
impl Serialize for PatternSelection
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
source§impl<'a> ZeroMapKV<'a> for PatternSelection
impl<'a> ZeroMapKV<'a> for PatternSelection
source§type Container = ZeroVec<'a, PatternSelection>
type Container = ZeroVec<'a, PatternSelection>
The container that can be used with this type:
ZeroVec
or VarZeroVec
.type Slice = ZeroSlice<PatternSelection>
source§type GetType = PatternSelectionULE
type GetType = PatternSelectionULE
The type produced by
Container::get()
Read moresource§type OwnedType = PatternSelection
type OwnedType = PatternSelection
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 PatternSelection
impl Eq for PatternSelection
impl StructuralPartialEq for PatternSelection
Auto Trait Implementations§
impl Freeze for PatternSelection
impl RefUnwindSafe for PatternSelection
impl Send for PatternSelection
impl Sync for PatternSelection
impl Unpin for PatternSelection
impl UnwindSafe for PatternSelection
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