Struct ba2::fo4::ChunkCompressionOptionsBuilder
source · pub struct ChunkCompressionOptionsBuilder(/* private fields */);
Expand description
See also ChunkCompressionOptions
.
Implementations§
source§impl CompressionOptionsBuilder
impl CompressionOptionsBuilder
pub fn build(self) -> CompressionOptions
pub fn compression_format(self, compression_format: CompressionFormat) -> Self
pub fn compression_level(self, compression_level: CompressionLevel) -> Self
pub fn new() -> Self
Trait Implementations§
source§impl Debug for CompressionOptionsBuilder
impl Debug for CompressionOptionsBuilder
source§impl Default for CompressionOptionsBuilder
impl Default for CompressionOptionsBuilder
source§fn default() -> CompressionOptionsBuilder
fn default() -> CompressionOptionsBuilder
Returns the “default value” for a type. Read more
source§impl From<&Options> for CompressionOptionsBuilder
impl From<&Options> for CompressionOptionsBuilder
source§fn from(value: &ArchiveOptions) -> Self
fn from(value: &ArchiveOptions) -> Self
Converts to this type from the input type.
source§impl From<&WriteOptions> for CompressionOptionsBuilder
impl From<&WriteOptions> for CompressionOptionsBuilder
source§fn from(value: &FileWriteOptions) -> Self
fn from(value: &FileWriteOptions) -> Self
Converts to this type from the input type.
source§impl From<Options> for CompressionOptionsBuilder
impl From<Options> for CompressionOptionsBuilder
source§fn from(value: ArchiveOptions) -> Self
fn from(value: ArchiveOptions) -> Self
Converts to this type from the input type.
source§impl From<WriteOptions> for CompressionOptionsBuilder
impl From<WriteOptions> for CompressionOptionsBuilder
source§fn from(value: FileWriteOptions) -> Self
fn from(value: FileWriteOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for CompressionOptionsBuilder
impl Send for CompressionOptionsBuilder
impl Sync for CompressionOptionsBuilder
impl Unpin for CompressionOptionsBuilder
impl UnwindSafe for CompressionOptionsBuilder
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