pub struct NumberingSystem(/* private fields */);Expand description
A Unicode Number System Identifier defines a type of number system.
The valid values are listed in LDML.
Methods from Deref<Target = Subtag>§
Trait Implementations§
Source§impl Clone for NumberingSystem
 
impl Clone for NumberingSystem
Source§fn clone(&self) -> NumberingSystem
 
fn clone(&self) -> NumberingSystem
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 NumberingSystem
 
impl Debug for NumberingSystem
Source§impl Deref for NumberingSystem
 
impl Deref for NumberingSystem
Source§impl From<NumberingSystem> for Value
 
impl From<NumberingSystem> for Value
Source§fn from(input: NumberingSystem) -> Value
 
fn from(input: NumberingSystem) -> Value
Converts to this type from the input type.
Source§impl Hash for NumberingSystem
 
impl Hash for NumberingSystem
Source§impl PartialEq for NumberingSystem
 
impl PartialEq for NumberingSystem
Source§impl PreferenceKey for NumberingSystem
 
impl PreferenceKey for NumberingSystem
Source§fn unicode_extension_key() -> Option<Key>
 
fn unicode_extension_key() -> Option<Key>
Retrieve unicode extension key corresponding to a given preference.
Source§fn try_from_key_value(
    key: &Key,
    value: &Value,
) -> Result<Option<Self>, PreferencesParseError>
 
fn try_from_key_value( key: &Key, value: &Value, ) -> Result<Option<Self>, PreferencesParseError>
Optional constructor of the given preference. It takes the
unicode extension key and if the key matches it attemptes to construct
the preference based on the given value.
If the value is not a valid value for the given key, the constructor throws.
Source§fn unicode_extension_value(&self) -> Option<Value>
 
fn unicode_extension_value(&self) -> Option<Value>
Retrieve unicode extension value corresponding to the given instance of the preference.
Source§impl TryFrom<Value> for NumberingSystem
 
impl TryFrom<Value> for NumberingSystem
impl Copy for NumberingSystem
impl Eq for NumberingSystem
impl StructuralPartialEq for NumberingSystem
Auto Trait Implementations§
impl Freeze for NumberingSystem
impl RefUnwindSafe for NumberingSystem
impl Send for NumberingSystem
impl Sync for NumberingSystem
impl Unpin for NumberingSystem
impl UnwindSafe for NumberingSystem
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