[][src]Struct skyline::nn::util::BinaryFileHeader

#[repr(C)]pub struct BinaryFileHeader {
    pub mMagic: i32,
    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: i32mSig: u32mVerMicro: u8mVerMinor: u8mVerMajor: u16mBOM: u16mAlignment: u8mTargetAddrSize: u8mFileNameOffset: u32mFlag: u16mFirstBlockOffs: u16mRelocationTableOffs: u32mSize: u32

Methods

impl BinaryFileHeader[src]

pub unsafe fn IsValid(
    &self,
    packedSig: i64,
    majorVer: i32,
    minorVer: i32,
    microVer: i32
) -> 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 RefUnwindSafe for BinaryFileHeader

impl Send for BinaryFileHeader

impl Sync for BinaryFileHeader

impl Unpin for BinaryFileHeader

impl UnwindSafe 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.