struct YDGHeader {
magic: [u8; 4],
yuris_magic: [u8; 8],
_unk: u32,
header_size: u32,
file_size: u32,
_unk1: u64,
width: u16,
height: u16,
other: Vec<u8>,
slices: Vec<Slice>,
}Available on crate features
yuris and yuris-img only.Fields§
§magic: [u8; 4]YDG
yuris_magic: [u8; 8]YU-RIS
_unk: u32Seems always 0x64
header_size: u32Header length
file_size: u32YDG file size
_unk1: u64§width: u16Image width
height: u16Image height
other: Vec<u8>§slices: Vec<Slice>Trait Implementations§
Auto Trait Implementations§
impl Freeze for YDGHeader
impl RefUnwindSafe for YDGHeader
impl Send for YDGHeader
impl Sync for YDGHeader
impl Unpin for YDGHeader
impl UnwindSafe for YDGHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more