pub struct Settings {
pub pretty: bool,
}Expand description
Settings that should be applied while writing a PDF file.
Fields§
§pretty: boolWhether to enable pretty-writing. In this case, pdf-writer will
serialize PDFs in such a way that they are easier to read by humans by
applying more padding and indentation, at the cost of larger file sizes.
If disabled, pdf-writer will serialize objects as compactly as
possible, leading to better file sizes but making it harder to inspect
the file manually.
Default value: true.
Trait Implementations§
impl Copy for Settings
Auto Trait Implementations§
impl Freeze for Settings
impl RefUnwindSafe for Settings
impl Send for Settings
impl Sync for Settings
impl Unpin for Settings
impl UnsafeUnpin for Settings
impl UnwindSafe for Settings
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