pub struct AlignmentStyle {
pub horizontal: Option<HorizontalAlign>,
pub vertical: Option<VerticalAlign>,
pub wrap_text: bool,
pub text_rotation: Option<u32>,
pub indent: Option<u32>,
pub shrink_to_fit: bool,
}Expand description
Alignment style definition.
Fields§
§horizontal: Option<HorizontalAlign>§vertical: Option<VerticalAlign>§wrap_text: bool§text_rotation: Option<u32>§indent: Option<u32>§shrink_to_fit: boolTrait Implementations§
Source§impl Clone for AlignmentStyle
impl Clone for AlignmentStyle
Source§fn clone(&self) -> AlignmentStyle
fn clone(&self) -> AlignmentStyle
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 AlignmentStyle
impl Debug for AlignmentStyle
Source§impl Default for AlignmentStyle
impl Default for AlignmentStyle
Source§fn default() -> AlignmentStyle
fn default() -> AlignmentStyle
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AlignmentStyle
impl RefUnwindSafe for AlignmentStyle
impl Send for AlignmentStyle
impl Sync for AlignmentStyle
impl Unpin for AlignmentStyle
impl UnwindSafe for AlignmentStyle
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