Struct pmd_farc::FarcFile [−][src]
Represent a file stored in a farc file
Fields
start: u32
The offset since the beggining of the farc file this subfile is present
length: u32
The lenght of the subfile
name_hash: u32
the crc32 of the name of this subfile
name: Option<String>
The name of this subfile
Implementations
impl FarcFile
[src]
#[must_use]pub const fn new(
start: u32,
length: u32,
name_hash: u32,
name: Option<String>
) -> Self
[src]
start: u32,
length: u32,
name_hash: u32,
name: Option<String>
) -> Self
Create a new FarcFile
with the given parameter
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for FarcFile
impl Send for FarcFile
impl Sync for FarcFile
impl Unpin for FarcFile
impl UnwindSafe for FarcFile
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,