Struct discord_game_sdk_sys::IDiscordNetworkEvents [−][src]
#[repr(C)]pub struct IDiscordNetworkEvents { pub on_message: Option<unsafe extern "C" fn(event_data: *mut c_void, peer_id: DiscordNetworkPeerId, channel_id: DiscordNetworkChannelId, data: *mut u8, data_length: u32)>, pub on_route_update: Option<unsafe extern "C" fn(event_data: *mut c_void, route_data: *const c_char)>, }
Fields
on_message: Option<unsafe extern "C" fn(event_data: *mut c_void, peer_id: DiscordNetworkPeerId, channel_id: DiscordNetworkChannelId, data: *mut u8, data_length: u32)>
on_route_update: Option<unsafe extern "C" fn(event_data: *mut c_void, route_data: *const c_char)>
Trait Implementations
Returns the “default value” for a type. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IDiscordNetworkEvents
impl Send for IDiscordNetworkEvents
impl Sync for IDiscordNetworkEvents
impl Unpin for IDiscordNetworkEvents
impl UnwindSafe for IDiscordNetworkEvents
Blanket Implementations
Mutably borrows from an owned value. Read more