[][src]Struct nnsdk::util::BinaryFileHeader

#[repr(C)]pub struct BinaryFileHeader {
    pub mMagic: s32,
    pub mSig: u32,
    pub mVerMicro: u8,
    pub mVerMinor: u8,
    pub mVerMajor: u16,
    pub mBOM: u16,
    pub mAlignment: u8,
    pub mTargetAddrSize: u8,
    pub mFileNameOffset: u32,
    pub mFlag: u16,
    pub mFirstBlockOffs: u16,
    pub mRelocationTableOffs: u32,
    pub mSize: u32,
}

Fields

mMagic: s32mSig: u32mVerMicro: u8mVerMinor: u8mVerMajor: u16mBOM: u16mAlignment: u8mTargetAddrSize: u8mFileNameOffset: u32mFlag: u16mFirstBlockOffs: u16mRelocationTableOffs: u32mSize: u32

Methods

impl BinaryFileHeader[src]

pub unsafe fn IsValid(
    &self,
    packedSig: s64,
    majorVer: s32,
    minorVer: s32,
    microVer: s32
) -> bool
[src]

pub unsafe fn IsRelocated(&self) -> bool[src]

pub unsafe fn IsEndianReverse(&self) -> bool[src]

pub unsafe fn GetRelocationTable(&mut self) -> *mut RelocationTable[src]

Auto Trait Implementations

impl Send for BinaryFileHeader

impl Sync for BinaryFileHeader

impl Unpin for BinaryFileHeader

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, 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.