pub enum TextAlignment {
Left,
Center,
Right,
}Expand description
Text alignment (quadding) per PDF spec.
Variants§
Implementations§
Source§impl TextAlignment
impl TextAlignment
Sourcepub fn to_pdf_int(&self) -> i32
pub fn to_pdf_int(&self) -> i32
Get PDF integer value.
Sourcepub fn from_pdf_int(value: i32) -> Self
pub fn from_pdf_int(value: i32) -> Self
Parse from PDF integer.
Trait Implementations§
Source§impl Clone for TextAlignment
impl Clone for TextAlignment
impl Copy for TextAlignment
Source§impl Debug for TextAlignment
impl Debug for TextAlignment
Source§impl Default for TextAlignment
impl Default for TextAlignment
impl Eq for TextAlignment
Source§impl PartialEq for TextAlignment
impl PartialEq for TextAlignment
impl StructuralPartialEq for TextAlignment
Auto Trait Implementations§
impl Freeze for TextAlignment
impl RefUnwindSafe for TextAlignment
impl Send for TextAlignment
impl Sync for TextAlignment
impl Unpin for TextAlignment
impl UnsafeUnpin for TextAlignment
impl UnwindSafe for TextAlignment
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