Struct ctru_sys::tag_gxCmdQueue_s
source · #[repr(C)]pub struct tag_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(arg1: *mut tag_gxCmdQueue_s)>,
pub user: *mut c_void,
}
Expand description
GX command queue structure
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(arg1: *mut tag_gxCmdQueue_s)>
< User callback
user: *mut c_void
< Data for user callback
Trait Implementations§
source§impl Clone for tag_gxCmdQueue_s
impl Clone for tag_gxCmdQueue_s
source§fn clone(&self) -> tag_gxCmdQueue_s
fn clone(&self) -> tag_gxCmdQueue_s
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more