pub enum ParaAlignment {
Left,
Right,
Center,
Justify,
FullInterword,
}
Expand description
Paragraph alignment
Variants§
Left
Paragraphs are aligned with the left margin.
Right
Paragraphs are aligned with the right margin.
Center
Paragraphs are centered.
Justify
Paragraphs are justified.
FullInterword
Paragraphs are justified by expanding the blanks alone.
Trait Implementations§
Source§impl Clone for ParaAlignment
impl Clone for ParaAlignment
Source§fn clone(&self) -> ParaAlignment
fn clone(&self) -> ParaAlignment
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 ParaAlignment
impl Debug for ParaAlignment
impl Copy for ParaAlignment
Auto Trait Implementations§
impl Freeze for ParaAlignment
impl RefUnwindSafe for ParaAlignment
impl Send for ParaAlignment
impl Sync for ParaAlignment
impl Unpin for ParaAlignment
impl UnwindSafe for ParaAlignment
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