pub enum FormatSource {
Fixed,
Language,
}Expand description
19.348 number:format-source
The number:format-source attribute specifies the source of definitions of the short and long display formats.
The defined values for the number:format-source attribute are:
- fixed: the values short and long of the number:style attribute are defined by this standard.
- language: the meaning of the values long and short of the number:style attribute depend upon the number:language and number:country attributes of the date style. If neither of those attributes are specified, consumers should use their default locale for short and long date and time formats.
The default value for this attribute is fixed.
Variants§
Trait Implementations§
Source§impl Clone for FormatSource
impl Clone for FormatSource
Source§fn clone(&self) -> FormatSource
fn clone(&self) -> FormatSource
Returns a duplicate 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 FormatSource
impl Debug for FormatSource
Source§impl Display for FormatSource
impl Display for FormatSource
Source§impl PartialEq for FormatSource
impl PartialEq for FormatSource
impl Copy for FormatSource
impl Eq for FormatSource
impl StructuralPartialEq for FormatSource
Auto Trait Implementations§
impl Freeze for FormatSource
impl RefUnwindSafe for FormatSource
impl Send for FormatSource
impl Sync for FormatSource
impl Unpin for FormatSource
impl UnwindSafe for FormatSource
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.