Struct rps_sys::RpsCmdCallback
source · #[repr(C)]pub struct RpsCmdCallback {
pub pfnCallback: PFN_rpsCmdCallback,
pub pUserContext: *mut c_void,
pub flags: RpsCmdCallbackFlags,
}Expand description
Command callback with usage parameters.
Fields§
§pfnCallback: PFN_rpsCmdCallbackPointer to a callback function.
pUserContext: *mut c_voidUser context to be passed to the callback.
flags: RpsCmdCallbackFlagsFlags for the callback.
Trait Implementations§
source§impl Clone for RpsCmdCallback
impl Clone for RpsCmdCallback
source§fn clone(&self) -> RpsCmdCallback
fn clone(&self) -> RpsCmdCallback
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more