#[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 duplicate 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 moreSource§impl Debug for tag_gxCmdQueue_s
impl Debug for tag_gxCmdQueue_s
Source§impl Default for tag_gxCmdQueue_s
impl Default for tag_gxCmdQueue_s
impl Copy for tag_gxCmdQueue_s
Auto Trait Implementations§
impl Freeze for tag_gxCmdQueue_s
impl RefUnwindSafe for tag_gxCmdQueue_s
impl !Send for tag_gxCmdQueue_s
impl !Sync for tag_gxCmdQueue_s
impl Unpin for tag_gxCmdQueue_s
impl UnwindSafe for tag_gxCmdQueue_s
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)