pub struct AddDirectory {
pub name: String,
}Expand description
ADIR chunk: create a directory under the game install root.
Fields§
§name: StringDirectory path relative to the game install root.
Trait Implementations§
Source§impl Apply for AddDirectory
impl Apply for AddDirectory
Source§impl BinRead for AddDirectory
impl BinRead for AddDirectory
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<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§impl Clone for AddDirectory
impl Clone for AddDirectory
Source§fn clone(&self) -> AddDirectory
fn clone(&self) -> AddDirectory
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AddDirectory
impl Debug for AddDirectory
Source§impl PartialEq for AddDirectory
impl PartialEq for AddDirectory
Source§fn eq(&self, other: &AddDirectory) -> bool
fn eq(&self, other: &AddDirectory) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl ReadEndian for AddDirectory
impl ReadEndian for AddDirectory
Source§const ENDIAN: EndianKind
const ENDIAN: EndianKind
The endianness of the type.
impl Eq for AddDirectory
impl StructuralPartialEq for AddDirectory
Auto Trait Implementations§
impl Freeze for AddDirectory
impl RefUnwindSafe for AddDirectory
impl Send for AddDirectory
impl Sync for AddDirectory
impl Unpin for AddDirectory
impl UnsafeUnpin for AddDirectory
impl UnwindSafe for AddDirectory
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