pub enum ParagraphAlign {
Left,
Center,
Right,
Justify,
}Expand description
Horizontal alignment for a Paragraph.
Variants§
Left
Flush to the rect’s left edge.
Center
Centered within the rect width.
Right
Flush to the rect’s right edge.
Justify
Flush to both edges: word spacing stretches every line but the last.
Trait Implementations§
Source§impl Clone for ParagraphAlign
impl Clone for ParagraphAlign
impl Copy for ParagraphAlign
Source§impl Debug for ParagraphAlign
impl Debug for ParagraphAlign
Source§impl Default for ParagraphAlign
impl Default for ParagraphAlign
Source§impl PartialEq for ParagraphAlign
impl PartialEq for ParagraphAlign
impl StructuralPartialEq for ParagraphAlign
Auto Trait Implementations§
impl Forget for ParagraphAlign
impl Freeze for ParagraphAlign
impl Move for ParagraphAlign
impl RefUnwindSafe for ParagraphAlign
impl Send for ParagraphAlign
impl Sync for ParagraphAlign
impl Unpin for ParagraphAlign
impl UnsafeUnpin for ParagraphAlign
impl UnwindSafe for ParagraphAlign
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