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§fn clone(&self) -> SaveOptions
fn clone(&self) -> SaveOptions
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 SaveOptions
impl Debug for SaveOptions
Source§impl Default for SaveOptions
impl Default for SaveOptions
Source§fn default() -> SaveOptions
fn default() -> SaveOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SaveOptions
impl RefUnwindSafe for SaveOptions
impl Send for SaveOptions
impl Sync for SaveOptions
impl Unpin 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