Struct instrument::mode::Mono [] [src]

pub struct Mono(pub MonoKind, pub Vec<NoteHz>);

Monophonic playback.

Methods

impl Mono
[src]

Construct a default Retrigger mono mode.

construct a default Legato mono mode.

Trait Implementations

impl Clone for Mono
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Mono
[src]

Formats the value using the given formatter.

impl PartialEq for Mono
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Mode for Mono
[src]

Handle a note_on event.

Handle a note_off event.

Handle a stop event.