pub struct WriterConfig {
pub use_xref_streams: bool,
pub pdf_version: String,
pub compress_streams: bool,
}Expand description
Configuration for PDF writer
Fields§
§use_xref_streams: boolUse XRef streams instead of traditional XRef tables (PDF 1.5+)
pdf_version: StringPDF version to write (default: 1.7)
compress_streams: boolEnable compression for streams (default: true)
Trait Implementations§
Source§impl Clone for WriterConfig
impl Clone for WriterConfig
Source§fn clone(&self) -> WriterConfig
fn clone(&self) -> WriterConfig
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 WriterConfig
impl Debug for WriterConfig
Auto Trait Implementations§
impl Freeze for WriterConfig
impl RefUnwindSafe for WriterConfig
impl Send for WriterConfig
impl Sync for WriterConfig
impl Unpin for WriterConfig
impl UnwindSafe for WriterConfig
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