Struct riot_sys::gnrc_netreg_entry_cbd_t
source · #[repr(C)]pub struct gnrc_netreg_entry_cbd_t {
pub cb: gnrc_netreg_entry_cb_t,
pub ctx: *mut c_void,
}
Expand description
@brief Callback + Context descriptor @note Only available with @ref net_gnrc_netapi_callbacks.
Fields§
§cb: gnrc_netreg_entry_cb_t
< the callback
ctx: *mut c_void
< application context for the callback
Trait Implementations§
source§impl Clone for gnrc_netreg_entry_cbd_t
impl Clone for gnrc_netreg_entry_cbd_t
source§fn clone(&self) -> gnrc_netreg_entry_cbd_t
fn clone(&self) -> gnrc_netreg_entry_cbd_t
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