pub struct SerializedFile { /* private fields */ }Trait Implementations§
Source§impl BinRead for SerializedFile
impl BinRead for SerializedFile
Source§fn read_options<R: Read + Seek>(
__binrw_generated_var_reader: &mut R,
__binrw_generated_var_options: &ReadOptions,
__binrw_generated_var_arguments: Self::Args,
) -> BinResult<Self>
fn read_options<R: Read + Seek>( __binrw_generated_var_reader: &mut R, __binrw_generated_var_options: &ReadOptions, __binrw_generated_var_arguments: Self::Args, ) -> BinResult<Self>
Source§fn read<R>(reader: &mut R) -> Result<Self, Error>
fn read<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments. Read moreSource§fn read_be<R>(reader: &mut R) -> Result<Self, Error>
fn read_be<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
big-endian byte order. Read moreSource§fn read_le<R>(reader: &mut R) -> Result<Self, Error>
fn read_le<R>(reader: &mut R) -> Result<Self, Error>
Read
Self from the reader using default arguments and assuming
little-endian byte order. Read moreSource§fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
fn read_ne<R>(reader: &mut R) -> Result<Self, Error>
Read
T from the reader assuming native-endian byte order. Read moreSource§fn read_args<R>(reader: &mut R, args: Self::Args) -> Result<Self, Error>
fn read_args<R>(reader: &mut R, args: Self::Args) -> Result<Self, Error>
Read
Self from the reader using the given arguments. Read moreSource§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§fn read_le_args<R>(reader: &mut R, args: Self::Args) -> Result<Self, Error>
fn read_le_args<R>(reader: &mut R, args: Self::Args) -> Result<Self, Error>
Read
Self from the reader, assuming little-endian byte order, using
the given arguments. Read moreSource§impl BinWrite for SerializedFile
impl BinWrite for SerializedFile
Source§fn write_options<W: Write + Seek>(
&self,
__binrw_generated_var_writer: &mut W,
__binrw_generated_var_options: &WriteOptions,
__binrw_generated_var_arguments: Self::Args,
) -> BinResult<()>
fn write_options<W: Write + Seek>( &self, __binrw_generated_var_writer: &mut W, __binrw_generated_var_options: &WriteOptions, __binrw_generated_var_arguments: Self::Args, ) -> BinResult<()>
Source§fn write<W>(&self, writer: &mut W) -> Result<(), Error>
fn write<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer using default arguments. Read moreSource§fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_be<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming big-endian byte order. Read moreSource§fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
fn write_le<W>(&self, writer: &mut W) -> Result<(), Error>
Write
Self to the writer assuming little-endian byte order. Read moreSource§fn write_args<W>(&self, writer: &mut W, args: Self::Args) -> Result<(), Error>
fn write_args<W>(&self, writer: &mut W, args: Self::Args) -> Result<(), Error>
Write
Self to the writer using the given arguments. Read moreSource§impl Debug for SerializedFile
impl Debug for SerializedFile
Source§impl PartialEq for SerializedFile
impl PartialEq for SerializedFile
Source§impl ReadEndian for SerializedFile
impl ReadEndian for SerializedFile
Source§const ENDIAN: EndianKind
const ENDIAN: EndianKind
The endianness of the type.
Source§impl Serialized for SerializedFile
impl Serialized for SerializedFile
fn get_serialized_file_version(&self) -> &SerializedFileFormatVersion
fn get_data_offset(&self) -> u64
fn get_endianess(&self) -> &Endian
fn get_objects_metadata(&self) -> Vec<Object>
fn get_unity_version(&self) -> String
fn get_target_platform(&self) -> &BuildTarget
fn get_enable_type_tree(&self) -> bool
fn get_type_object_args_by_type_id( &self, type_id: usize, ) -> Option<TypeTreeObjectBinReadClassArgs>
fn get_externals(&self) -> Cow<'_, Vec<FileIdentifier>>
fn get_metadata(&self) -> SerializedFileMetadata
fn get_type_tree_object( &self, reader: &mut Box<dyn UnityResource + Send + Sync>, obj: &Object, serialized_file_id: i64, path_id: i64, ) -> BinResult<TypeTreeObject>
Source§impl WriteEndian for SerializedFile
impl WriteEndian for SerializedFile
Source§const ENDIAN: EndianKind
const ENDIAN: EndianKind
The endianness of the type.
impl StructuralPartialEq for SerializedFile
Auto Trait Implementations§
impl Freeze for SerializedFile
impl RefUnwindSafe for SerializedFile
impl Send for SerializedFile
impl Sync for SerializedFile
impl Unpin for SerializedFile
impl UnwindSafe for SerializedFile
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