#[repr(C)]
pub struct ExHeader_Arm11CoreInfo { pub core_version: u32_, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 3]>, pub priority: u8_, }
Expand description

The CPU-related and memory-layout-related info of a title

Fields§

§core_version: u32_

< The low title ID of the target firmware

§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 3]>§priority: u8_

< The priority of the title’s main thread

Implementations§

source§

impl ExHeader_Arm11CoreInfo

source

pub fn use_cpu_clockrate_804MHz(&self) -> bool

source

pub fn set_use_cpu_clockrate_804MHz(&mut self, val: bool)

source

pub fn enable_l2c(&self) -> bool

source

pub fn set_enable_l2c(&mut self, val: bool)

source

pub fn flag1_unused(&self) -> u8_

source

pub fn set_flag1_unused(&mut self, val: u8_)

source

pub fn n3ds_system_mode(&self) -> SystemMode

source

pub fn set_n3ds_system_mode(&mut self, val: SystemMode)

source

pub fn flag2_unused(&self) -> u8_

source

pub fn set_flag2_unused(&mut self, val: u8_)

source

pub fn ideal_processor(&self) -> u8_

source

pub fn set_ideal_processor(&mut self, val: u8_)

source

pub fn affinity_mask(&self) -> u8_

source

pub fn set_affinity_mask(&mut self, val: u8_)

source

pub fn o3ds_system_mode(&self) -> SystemMode

source

pub fn set_o3ds_system_mode(&mut self, val: SystemMode)

source

pub fn new_bitfield_1( use_cpu_clockrate_804MHz: bool, enable_l2c: bool, flag1_unused: u8_, n3ds_system_mode: SystemMode, flag2_unused: u8_, ideal_processor: u8_, affinity_mask: u8_, o3ds_system_mode: SystemMode ) -> __BindgenBitfieldUnit<[u8; 3]>

Trait Implementations§

source§

impl Clone for ExHeader_Arm11CoreInfo

source§

fn clone(&self) -> ExHeader_Arm11CoreInfo

Returns a copy of the value. Read more
1.0.0§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for ExHeader_Arm11CoreInfo

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for ExHeader_Arm11CoreInfo

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl Copy for ExHeader_Arm11CoreInfo

Auto Trait Implementations§

§

impl RefUnwindSafe for ExHeader_Arm11CoreInfo

§

impl Send for ExHeader_Arm11CoreInfo

§

impl Sync for ExHeader_Arm11CoreInfo

§

impl Unpin for ExHeader_Arm11CoreInfo

§

impl UnwindSafe for ExHeader_Arm11CoreInfo

Blanket Implementations§

§

impl<T> Any for T
where T: 'static + ?Sized,

§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
§

impl<T> Borrow<T> for T
where T: ?Sized,

§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
§

impl<T> BorrowMut<T> for T
where T: ?Sized,

§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
§

impl<T> From<T> for T

§

fn from(t: T) -> T

Returns the argument unchanged.

§

impl<T, U> Into<U> for T
where U: From<T>,

§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.