pub enum PdfLineAlignment {
None,
LeftAlign,
RightAlign,
Center,
Justify,
}Expand description
The paragraph-relative alignment of a single PdfLine.
Variants§
None
No alignment detected.
LeftAlign
Left-aligned.
RightAlign
Right-aligned.
Center
Centered.
Justify
Justified.
Trait Implementations§
Source§impl Clone for PdfLineAlignment
impl Clone for PdfLineAlignment
Source§fn clone(&self) -> PdfLineAlignment
fn clone(&self) -> PdfLineAlignment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PdfLineAlignment
Source§impl Debug for PdfLineAlignment
impl Debug for PdfLineAlignment
Source§impl PartialEq for PdfLineAlignment
impl PartialEq for PdfLineAlignment
impl StructuralPartialEq for PdfLineAlignment
Auto Trait Implementations§
impl Freeze for PdfLineAlignment
impl RefUnwindSafe for PdfLineAlignment
impl Send for PdfLineAlignment
impl Sync for PdfLineAlignment
impl Unpin for PdfLineAlignment
impl UnsafeUnpin for PdfLineAlignment
impl UnwindSafe for PdfLineAlignment
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more