pub struct DocumentOptions {
pub origin: Origin,
}Expand description
Options for configuring a new PDF document.
Fields§
§origin: OriginCoordinate origin for all user-supplied coordinates.
Defaults to Origin::BottomLeft (PDF native).
Trait Implementations§
Source§impl Clone for DocumentOptions
impl Clone for DocumentOptions
Source§fn clone(&self) -> DocumentOptions
fn clone(&self) -> DocumentOptions
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 DocumentOptions
impl Debug for DocumentOptions
Auto Trait Implementations§
impl Freeze for DocumentOptions
impl RefUnwindSafe for DocumentOptions
impl Send for DocumentOptions
impl Sync for DocumentOptions
impl Unpin for DocumentOptions
impl UnsafeUnpin for DocumentOptions
impl UnwindSafe for DocumentOptions
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