pub struct Unk4 {
pub unk1: u32,
pub unk2: Vec<Unk4Unk2>,
pub unk4: Option<Unk4Unk4>,
pub unk5: Option<Vec<Unk4Unk5>>,
pub unk6: u32,
pub unk7: Option<[[f32; 4]; 8]>,
pub extra: Option<Unk4Extra>,
pub unk: Option<[u32; 3]>,
pub buffer: Vec<u8>,
}Fields§
§unk1: u32§unk2: Vec<Unk4Unk2>§unk4: Option<Unk4Unk4>§unk5: Option<Vec<Unk4Unk5>>§unk6: u32§unk7: Option<[[f32; 4]; 8]>§extra: Option<Unk4Extra>§unk: Option<[u32; 3]>§buffer: Vec<u8>Trait Implementations§
Source§impl BinRead for Unk4
impl BinRead for Unk4
Source§type Args<'__binrw_generated_args_lifetime> = Unk4BinReadArgs
type Args<'__binrw_generated_args_lifetime> = Unk4BinReadArgs
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_endian: Endian,
__binrw_generated_var_arguments: Self::Args<'_>,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_endian: Endian, __binrw_generated_var_arguments: Self::Args<'_>, ) -> BinResult<Self>
Source§fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
fn read_be_args<R>(reader: &mut R, args: Self::Args<'_>) -> Result<Self, Error>
Read
Self from the reader, assuming big-endian byte order, using the
given arguments. Read moreSource§impl Xc3Write for Unk4
impl Xc3Write for Unk4
Source§type Offsets<'offsets> = Unk4Offsets<'offsets>
type Offsets<'offsets> = Unk4Offsets<'offsets>
The type storing offset data to be used in Xc3WriteOffsets.
Source§fn xc3_write<W: Write + Seek>(
&self,
writer: &mut W,
endian: Endian,
) -> Xc3Result<Self::Offsets<'_>>
fn xc3_write<W: Write + Seek>( &self, writer: &mut W, endian: Endian, ) -> Xc3Result<Self::Offsets<'_>>
Write all fields and placeholder offsets.
This should almost always be derived for non primitive types.
Source§fn should_write(&self) -> Option<bool>
fn should_write(&self) -> Option<bool>
Return
Some(_) if the offset should be updated and
Some(true) if the data should also be written.
Defaults to Some(true).impl StructuralPartialEq for Unk4
Auto Trait Implementations§
impl Freeze for Unk4
impl RefUnwindSafe for Unk4
impl Send for Unk4
impl Sync for Unk4
impl Unpin for Unk4
impl UnwindSafe for Unk4
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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