pub struct SaveOptionsBuilder { /* private fields */ }Expand description
Builder for SaveOptions
Implementations§
Source§impl SaveOptionsBuilder
impl SaveOptionsBuilder
Sourcepub fn use_object_streams(self, value: bool) -> Self
pub fn use_object_streams(self, value: bool) -> Self
Enable or disable object streams
Sourcepub fn use_xref_streams(self, value: bool) -> Self
pub fn use_xref_streams(self, value: bool) -> Self
Enable or disable cross-reference streams
Sourcepub fn max_objects_per_stream(self, value: usize) -> Self
pub fn max_objects_per_stream(self, value: usize) -> Self
Set maximum objects per stream
Sourcepub fn compression_level(self, value: u32) -> Self
pub fn compression_level(self, value: u32) -> Self
Set compression level (0-9)
Sourcepub fn build(self) -> SaveOptions
pub fn build(self) -> SaveOptions
Build the SaveOptions
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SaveOptionsBuilder
impl RefUnwindSafe for SaveOptionsBuilder
impl Send for SaveOptionsBuilder
impl Sync for SaveOptionsBuilder
impl Unpin for SaveOptionsBuilder
impl UnsafeUnpin for SaveOptionsBuilder
impl UnwindSafe for SaveOptionsBuilder
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