pub struct PageOptions {
pub dpi: f32,
}
Expand description
Options for the resulting PDF file.
Fields§
§dpi: f32
The DPI that should be assumed for the conversion to PDF.
Default: 72.0
Trait Implementations§
source§impl Clone for PageOptions
impl Clone for PageOptions
source§fn clone(&self) -> PageOptions
fn clone(&self) -> PageOptions
Returns a copy of the value. Read more
1.6.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for PageOptions
impl Default for PageOptions
impl Copy for PageOptions
Auto Trait Implementations§
impl Freeze for PageOptions
impl RefUnwindSafe for PageOptions
impl Send for PageOptions
impl Sync for PageOptions
impl Unpin for PageOptions
impl UnwindSafe for PageOptions
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)