Struct discord_game_sdk_sys::IDiscordCore[][src]

#[repr(C)]
pub struct IDiscordCore {
Show 15 fields pub destroy: Option<unsafe extern "C" fn(core: *mut IDiscordCore)>, pub run_callbacks: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> EDiscordResult>, pub set_log_hook: Option<unsafe extern "C" fn(core: *mut IDiscordCore, min_level: EDiscordLogLevel, hook_data: *mut c_void, hook: Option<unsafe extern "C" fn(hook_data: *mut c_void, level: EDiscordLogLevel, message: *const c_char)>)>, pub get_application_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordApplicationManager>, pub get_user_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordUserManager>, pub get_image_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordImageManager>, pub get_activity_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordActivityManager>, pub get_relationship_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordRelationshipManager>, pub get_lobby_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordLobbyManager>, pub get_network_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordNetworkManager>, pub get_overlay_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordOverlayManager>, pub get_storage_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordStorageManager>, pub get_store_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordStoreManager>, pub get_voice_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordVoiceManager>, pub get_achievement_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordAchievementManager>,
}

Fields

destroy: Option<unsafe extern "C" fn(core: *mut IDiscordCore)>run_callbacks: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> EDiscordResult>set_log_hook: Option<unsafe extern "C" fn(core: *mut IDiscordCore, min_level: EDiscordLogLevel, hook_data: *mut c_void, hook: Option<unsafe extern "C" fn(hook_data: *mut c_void, level: EDiscordLogLevel, message: *const c_char)>)>get_application_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordApplicationManager>get_user_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordUserManager>get_image_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordImageManager>get_activity_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordActivityManager>get_relationship_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordRelationshipManager>get_lobby_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordLobbyManager>get_network_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordNetworkManager>get_overlay_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordOverlayManager>get_storage_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordStorageManager>get_store_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordStoreManager>get_voice_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordVoiceManager>get_achievement_manager: Option<unsafe extern "C" fn(core: *mut IDiscordCore) -> *mut IDiscordAchievementManager>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. 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

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.