Type Alias ctru_sys::aptHookCookie

source ·
pub type aptHookCookie = tag_aptHookCookie;
Expand description

APT hook cookie.

Aliased Type§

struct aptHookCookie {
    pub next: *mut tag_aptHookCookie,
    pub callback: Option<unsafe extern "C" fn(_: u8, _: *mut c_void)>,
    pub param: *mut c_void,
}

Fields§

§next: *mut tag_aptHookCookie

< Next cookie.

§callback: Option<unsafe extern "C" fn(_: u8, _: *mut c_void)>

< Hook callback.

§param: *mut c_void

< Callback parameter.

Trait Implementations

source§

impl Clone for tag_aptHookCookie

source§

fn clone(&self) -> tag_aptHookCookie

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 tag_aptHookCookie

source§

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

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

impl Default for tag_aptHookCookie

source§

fn default() -> Self

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

impl Copy for tag_aptHookCookie