Struct pipewire::IdleSource[][src]

pub struct IdleSource<'l> { /* fields omitted */ }
Expand description

A source that can be used to have a callback called when the loop is idle.

This source can be obtained by calling add_idle on a loop, registering a callback to it.

Implementations

Set the source as enabled or disabled, allowing or preventing the callback from being called.

Trait Implementations

Executes the destructor for this type. Read more

Return a valid pointer to a raw spa_source.

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.