Enum icu::experimental::dimension::provider::currency::PlaceholderValue
source · #[repr(u16)]pub enum PlaceholderValue {
Index(u16),
ISO,
}
Variants§
Index(u16)
The index of the place holder in the place holders list. NOTE: the maximum value is MAX_PLACEHOLDER_INDEX which is 2045 (0b0111_1111_1101).
ISO
The place holder is the iso code.
Trait Implementations§
source§impl Bake for PlaceholderValue
impl Bake for PlaceholderValue
source§fn bake(&self, env: &CrateEnv) -> TokenStream
fn bake(&self, env: &CrateEnv) -> TokenStream
source§impl BakeSize for PlaceholderValue
impl BakeSize for PlaceholderValue
source§fn borrows_size(&self) -> usize
fn borrows_size(&self) -> usize
Returns the size
source§impl Clone for PlaceholderValue
impl Clone for PlaceholderValue
source§fn clone(&self) -> PlaceholderValue
fn clone(&self) -> PlaceholderValue
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 PlaceholderValue
impl Debug for PlaceholderValue
source§impl<'de> Deserialize<'de> for PlaceholderValue
impl<'de> Deserialize<'de> for PlaceholderValue
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlaceholderValue, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<PlaceholderValue, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for PlaceholderValue
impl Ord for PlaceholderValue
source§fn cmp(&self, other: &PlaceholderValue) -> Ordering
fn cmp(&self, other: &PlaceholderValue) -> 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 PlaceholderValue
impl PartialEq for PlaceholderValue
source§impl PartialOrd for PlaceholderValue
impl PartialOrd for PlaceholderValue
source§impl Serialize for PlaceholderValue
impl Serialize for PlaceholderValue
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
impl Copy for PlaceholderValue
impl Eq for PlaceholderValue
impl StructuralPartialEq for PlaceholderValue
Auto Trait Implementations§
impl Freeze for PlaceholderValue
impl RefUnwindSafe for PlaceholderValue
impl Send for PlaceholderValue
impl Sync for PlaceholderValue
impl Unpin for PlaceholderValue
impl UnwindSafe for PlaceholderValue
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