Struct synthizer::Context[][src]

pub struct Context(_);
Expand description

The Context represents an audio device.

Implementations

Get any pending events. The returned iterator will not block, and iterates over any pending events until the first error. This is lazy: to limit the number of events received, use .take.

Configure a route with the default settings.

Try to cast this object to another object type. Will return Ok(None) if this is because of a type mismatch, otherwise Err. Clones self on success in order to prevent throwing the object away on error.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. 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 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.