Struct wasapi::EventCallbacks[][src]

pub struct EventCallbacks { /* fields omitted */ }
Expand description

A structure holding the callbacks for notifications

Implementations

Create a new EventCallbacks with no callbacks set

Set a callback for OnSimpleVolumeChanged notifications

Remove a callback for OnSimpleVolumeChanged notifications

Set a callback for OnChannelVolumeChanged notifications

Remove a callback for OnChannelVolumeChanged notifications

Set a callback for OnSessionDisconnected notifications

Remove a callback for OnSessionDisconnected notifications

Set a callback for OnStateChanged notifications

Remove a callback for OnStateChanged notifications

Set a callback for OnIconPathChanged notifications

Remove a callback for OnIconPathChanged notifications

Set a callback for OnDisplayNameChanged notifications

Remove a callback for OnDisplayNameChanged notifications

Set a callback for OnGroupingParamChanged notifications

Remove a callback for OnGroupingParamChanged notifications

Trait Implementations

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

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 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.