pub struct FormatAlign {
pub horizontal: Option<FormatAlignType>,
pub vertical: Option<FormatAlignType>,
pub reading_order: u8,
pub indent: u8,
}Expand description
FormatAlign struct, which used to edit the align style of the Cell,
including set vertical and horizontal align(by FormatAlignType), reading order and indent.
§Fields
| field | type | meaning |
|---|---|---|
horizontal | Option<FormatAlignType> | The Cell’s horizontal alignment.It’s Some value can be FormatAlignType Left, Right, Center |
vertical | Option<FormatAlignType> | The Cell’s vertical alignment.It’s Some value can be FormatAlignType Top, Bottom, VerticalCenter |
reading_order | u8 | The Cell’s reading order1: left to right 2: right to left |
indent | u8 | The Cell’s indent |
Fields§
§horizontal: Option<FormatAlignType>§vertical: Option<FormatAlignType>§reading_order: u8§indent: u8Trait Implementations§
Source§impl Clone for FormatAlign
impl Clone for FormatAlign
Source§fn clone(&self) -> FormatAlign
fn clone(&self) -> FormatAlign
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 FormatAlign
impl Debug for FormatAlign
Source§impl Default for FormatAlign
impl Default for FormatAlign
Source§impl PartialEq for FormatAlign
impl PartialEq for FormatAlign
impl StructuralPartialEq for FormatAlign
Auto Trait Implementations§
impl Freeze for FormatAlign
impl RefUnwindSafe for FormatAlign
impl Send for FormatAlign
impl Sync for FormatAlign
impl Unpin for FormatAlign
impl UnwindSafe for FormatAlign
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