Struct discord_rpc_sys::DiscordEventHandlers [] [src]

#[repr(C)]
pub struct DiscordEventHandlers { pub ready: Option<unsafe extern "C" fn()>, pub disconnected: Option<unsafe extern "C" fn(errorCode: c_int, message: *const c_char)>, pub errored: Option<unsafe extern "C" fn(errorCode: c_int, message: *const c_char)>, pub joinGame: Option<unsafe extern "C" fn(joinSecret: *const c_char)>, pub spectateGame: Option<unsafe extern "C" fn(spectateSecret: *const c_char)>, pub joinRequest: Option<unsafe extern "C" fn(request: *const DiscordJoinRequest)>, }

Fields

Trait Implementations

impl Debug for DiscordEventHandlers
[src]

[src]

Formats the value using the given formatter. Read more

impl Copy for DiscordEventHandlers
[src]

impl Clone for DiscordEventHandlers
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations