[][src]Struct emote_psb::offsets::PsbOffsets

pub struct PsbOffsets {
    pub name_offset: u32,
    pub strings: PsbStringOffset,
    pub resources: PsbResourcesOffset,
    pub entry_point: u32,
    pub checksum: Option<u32>,
    pub extra: Option<PsbResourcesOffset>,
}

Fields

name_offset: u32strings: PsbStringOffsetresources: PsbResourcesOffsetentry_point: u32checksum: Option<u32>extra: Option<PsbResourcesOffset>

Implementations

impl PsbOffsets[src]

pub fn from_bytes(
    version: u16,
    stream: &mut impl Read
) -> Result<(u64, Self), PsbError>
[src]

pub fn write_bytes(
    &self,
    version: u16,
    stream: &mut impl Write
) -> Result<u64, PsbError>
[src]

Trait Implementations

impl Clone for PsbOffsets[src]

impl Copy for PsbOffsets[src]

impl Debug for PsbOffsets[src]

impl Default for PsbOffsets[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.