pub enum ParagraphJustification {
Unknown = 0,
Left = 1,
Center = 2,
Right = 3,
}Expand description
Paragraph alignment.
Variants§
Unknown = 0
The alignment is unclear.
Left = 1
Each line, except possibly the first, is flush to the same left tab stop.
Center = 2
The text lines of the paragraph are centered about a line going down through their middle of the text lines.
Right = 3
Each line, except possibly the first, is flush to the same right tab stop.
Trait Implementations§
Source§impl Clone for ParagraphJustification
impl Clone for ParagraphJustification
Source§fn clone(&self) -> ParagraphJustification
fn clone(&self) -> ParagraphJustification
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 ParagraphJustification
impl Debug for ParagraphJustification
Source§impl Hash for ParagraphJustification
impl Hash for ParagraphJustification
Source§impl Ord for ParagraphJustification
impl Ord for ParagraphJustification
Source§fn cmp(&self, other: &ParagraphJustification) -> Ordering
fn cmp(&self, other: &ParagraphJustification) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ParagraphJustification
impl PartialEq for ParagraphJustification
Source§impl PartialOrd for ParagraphJustification
impl PartialOrd for ParagraphJustification
impl Copy for ParagraphJustification
impl Eq for ParagraphJustification
impl StructuralPartialEq for ParagraphJustification
Auto Trait Implementations§
impl Freeze for ParagraphJustification
impl RefUnwindSafe for ParagraphJustification
impl Send for ParagraphJustification
impl Sync for ParagraphJustification
impl Unpin for ParagraphJustification
impl UnsafeUnpin for ParagraphJustification
impl UnwindSafe for ParagraphJustification
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