pub enum PdfParagraphAlignment {
LeftAlign,
RightAlign,
Center,
Justify,
ForceJustify,
}Expand description
Controls the line alignment behaviour of a [PdfPageParagraphObject].
Variants
LeftAlign
All lines will be non-justified, aligned to the left.
RightAlign
All lines will be non-justified, aligned to the right.
Center
All lines will be non-justified and centered.
Justify
All lines except the last will be justified.
ForceJustify
All lines, including the last, will be justified.
Trait Implementations
sourceimpl Clone for PdfParagraphAlignment
impl Clone for PdfParagraphAlignment
sourcefn clone(&self) -> PdfParagraphAlignment
fn clone(&self) -> PdfParagraphAlignment
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for PdfParagraphAlignment
impl Debug for PdfParagraphAlignment
impl Copy for PdfParagraphAlignment
impl StructuralPartialEq for PdfParagraphAlignment
Auto Trait Implementations
impl RefUnwindSafe for PdfParagraphAlignment
impl Send for PdfParagraphAlignment
impl Sync for PdfParagraphAlignment
impl Unpin for PdfParagraphAlignment
impl UnwindSafe for PdfParagraphAlignment
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more