Enum spreadsheet_ods::style::units::FormatSource
source · 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 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 FormatSource
impl Debug for FormatSource
source§impl Display for FormatSource
impl Display for FormatSource
source§impl PartialEq for FormatSource
impl PartialEq for FormatSource
source§fn eq(&self, other: &FormatSource) -> bool
fn eq(&self, other: &FormatSource) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for FormatSource
impl Eq for FormatSource
impl StructuralPartialEq for FormatSource
Auto Trait Implementations§
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