pub struct Options<'a> {
pub format: i32,
pub platform: i32,
pub platform_blob: Option<&'a [u8]>,
pub flip: bool,
pub mipmap_count: i32,
}Expand description
Converter options. Platform blobs are preserved verbatim by object writes.
Fields§
§format: i32Target TextureFormat, before UnityPy’s promotion.
platform: i32BuildTarget; zero for a detached texture.
platform_blob: Option<&'a [u8]>Existing platform blob, interpreted as little-endian GOB metadata.
flip: boolFlip before padding and packing (UnityPy’s default).
mipmap_count: i32Requested mip count; zero and negative counts are retained by UnityPy.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Forget for Options<'a>
impl<'a> Freeze for Options<'a>
impl<'a> Move for Options<'a>
impl<'a> RefUnwindSafe for Options<'a>
impl<'a> Send for Options<'a>
impl<'a> Sync for Options<'a>
impl<'a> Unpin for Options<'a>
impl<'a> UnsafeUnpin for Options<'a>
impl<'a> UnwindSafe for Options<'a>
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