Type Alias ctru_sys::gxCmdQueue_s

source ·
pub type gxCmdQueue_s = tag_gxCmdQueue_s;
Expand description

GX command queue structure

Aliased Type§

struct gxCmdQueue_s {
    pub entries: *mut gxCmdEntry_s,
    pub maxEntries: u16,
    pub numEntries: u16,
    pub curEntry: u16,
    pub lastEntry: u16,
    pub callback: Option<unsafe extern "C" fn(_: *mut tag_gxCmdQueue_s)>,
    pub user: *mut c_void,
}

Fields§

§entries: *mut gxCmdEntry_s

< Pointer to array of GX command entries

§maxEntries: u16

< Capacity of the command array

§numEntries: u16

< Number of commands in the queue

§curEntry: u16

< Index of the first pending command to be submitted to GX

§lastEntry: u16

< Number of commands completed by GX

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

< User callback

§user: *mut c_void

< Data for user callback

Trait Implementations

source§

impl Clone for tag_gxCmdQueue_s

source§

fn clone(&self) -> tag_gxCmdQueue_s

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_gxCmdQueue_s

source§

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

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

impl Default for tag_gxCmdQueue_s

source§

fn default() -> Self

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

impl Copy for tag_gxCmdQueue_s