Struct discord_rpc_sdk::RPC [] [src]

pub struct RPC;

Methods

impl RPC
[src]

[src]

Initializes the RPC API.

[src]

Updates the callback handlers.

[src]

Updates the rich presence screen.

[src]

Clears the rich present screen.

[src]

Invokes any pending callbacks from Discord on the calling thread. This function is allegedly thread safe.

Trait Implementations

impl Drop for RPC
[src]

[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl Send for RPC

impl Sync for RPC