pub struct UserDataHeader {
pub user_data_size: u32,
pub header_offset: u32,
pub user_data_header_size: u32,
}Expand description
MPQ user data header (optional, appears before main header)
Fields§
§user_data_size: u32Maximum size of the user data
header_offset: u32Offset of the MPQ header, relative to the beginning of this header
user_data_header_size: u32Size of user data header (commonly used in SC2 maps)
Implementations§
Source§impl UserDataHeader
impl UserDataHeader
Sourcepub fn debug_dump(&self) -> String
pub fn debug_dump(&self) -> String
Debug dump the user data header
Trait Implementations§
Source§impl Clone for UserDataHeader
impl Clone for UserDataHeader
Auto Trait Implementations§
impl Freeze for UserDataHeader
impl RefUnwindSafe for UserDataHeader
impl Send for UserDataHeader
impl Sync for UserDataHeader
impl Unpin for UserDataHeader
impl UnsafeUnpin for UserDataHeader
impl UnwindSafe for UserDataHeader
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