Enum spreadsheet_ods::style::units::TextAlignSource
source · pub enum TextAlignSource {
Fix,
ValueType,
}Expand description
20.364 style:text-align-source
The style:text-align-source attribute specifies the source of a text-align attribute.
The defined values for the style:text-align-source attribute are: • fix: content alignment uses the value of the fo:text-align 20.223 attribute. • value-type: content alignment uses the value-type of the cell.
The default alignment for a cell value-type string is left, for other value-types it is right.
The values of the style:text-align-source attribute are fix or value-type.
Variants§
Trait Implementations§
source§impl Clone for TextAlignSource
impl Clone for TextAlignSource
source§fn clone(&self) -> TextAlignSource
fn clone(&self) -> TextAlignSource
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 TextAlignSource
impl Debug for TextAlignSource
source§impl Display for TextAlignSource
impl Display for TextAlignSource
source§impl PartialEq for TextAlignSource
impl PartialEq for TextAlignSource
source§fn eq(&self, other: &TextAlignSource) -> bool
fn eq(&self, other: &TextAlignSource) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for TextAlignSource
impl Eq for TextAlignSource
impl StructuralPartialEq for TextAlignSource
Auto Trait Implementations§
impl RefUnwindSafe for TextAlignSource
impl Send for TextAlignSource
impl Sync for TextAlignSource
impl Unpin for TextAlignSource
impl UnwindSafe for TextAlignSource
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