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