pub struct SaveOptions {
pub use_object_streams: bool,
pub use_xref_streams: bool,
pub linearize: bool,
pub object_stream_config: ObjectStreamConfig,
}Expand description
Options for saving PDF documents
Fields§
§use_object_streams: boolEnable object streams for compressing non-stream objects
use_xref_streams: boolEnable cross-reference streams instead of traditional xref tables
linearize: boolEnable linearization (fast web view)
object_stream_config: ObjectStreamConfigConfiguration for object streams
Implementations§
Source§impl SaveOptions
impl SaveOptions
Sourcepub fn builder() -> SaveOptionsBuilder
pub fn builder() -> SaveOptionsBuilder
Create a builder for SaveOptions
Trait Implementations§
Source§impl Clone for SaveOptions
impl Clone for SaveOptions
Source§impl Debug for SaveOptions
impl Debug for SaveOptions
Auto Trait Implementations§
impl Freeze for SaveOptions
impl RefUnwindSafe for SaveOptions
impl Send for SaveOptions
impl Sync for SaveOptions
impl Unpin for SaveOptions
impl UnsafeUnpin for SaveOptions
impl UnwindSafe for SaveOptions
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