pub struct Encoded {
pub data: Bytes,
pub format: i32,
pub mipmap_count: i32,
}Expand description
Inline image bytes and the fields computed by the writer.
Fields§
§data: BytesCharged bytes, top level followed by smaller levels.
format: i32The written (possibly promoted) TextureFormat.
mipmap_count: i32Actual mip count, including UnityPy’s retained nonpositive counts.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Encoded
impl Forget for Encoded
impl Move for Encoded
impl RefUnwindSafe for Encoded
impl Send for Encoded
impl Sync for Encoded
impl Unpin for Encoded
impl UnsafeUnpin for Encoded
impl UnwindSafe for Encoded
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