pub struct FileReadOptionsBuilder(/* private fields */);
Expand description
See also FileReadOptions
.
Implementations§
Source§impl ReadOptionsBuilder
impl ReadOptionsBuilder
pub fn build(self) -> ReadOptions
pub fn compression_format(self, compression_format: CompressionFormat) -> Self
pub fn compression_level(self, compression_level: CompressionLevel) -> Self
pub fn compression_result(self, compression_result: CompressionResult) -> Self
pub fn format(self, format: Format) -> Self
Sourcepub fn mip_chunk_height(self, mip_chunk_height: usize) -> Self
pub fn mip_chunk_height(self, mip_chunk_height: usize) -> Self
This setting corresponds to the Single Mip Chunk Area setting from Archive2.exe. This is not the same as the size of the texture itself. This is a heuristic for splitting mips into chunks. Using anything other than the default setting is almost always a mistake. Do not change this setting unless you know what you’re doing.
Sourcepub fn mip_chunk_width(self, mip_chunk_width: usize) -> Self
pub fn mip_chunk_width(self, mip_chunk_width: usize) -> Self
See also mip_chunk_height
.
pub fn new() -> Self
Trait Implementations§
Source§impl Debug for ReadOptionsBuilder
impl Debug for ReadOptionsBuilder
Source§impl Default for ReadOptionsBuilder
impl Default for ReadOptionsBuilder
Source§fn default() -> ReadOptionsBuilder
fn default() -> ReadOptionsBuilder
Returns the “default value” for a type. Read more
Source§impl From<&Options> for ReadOptionsBuilder
impl From<&Options> for ReadOptionsBuilder
Source§fn from(value: &ArchiveOptions) -> Self
fn from(value: &ArchiveOptions) -> Self
Converts to this type from the input type.
Source§impl From<Options> for ReadOptionsBuilder
impl From<Options> for ReadOptionsBuilder
Source§fn from(value: ArchiveOptions) -> Self
fn from(value: ArchiveOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ReadOptionsBuilder
impl RefUnwindSafe for ReadOptionsBuilder
impl Send for ReadOptionsBuilder
impl Sync for ReadOptionsBuilder
impl Unpin for ReadOptionsBuilder
impl UnwindSafe for ReadOptionsBuilder
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