# Struct alsa::seq::Input [−] [src]

    pub struct Input<'a>(_);

Struct for receiving input events from a sequencer. The methods offered by this object may modify the internal input buffer of the sequencer, which must not happen while an `Event` is alive that has been obtained from a call to `event_input` (which takes `Input` by mutable reference for this reason). This is because the event might directly reference the sequencer's input buffer for variable-length messages (e.g. Sysex).

Note: Only one `Input` object is allowed in scope at a time.

## Methods

### `impl<'a> Input<'a>`
[src]

#### `fn event_input<'b>(&'b mut self) -> Result<Event<'b>>`

#### `fn event_input_pending(&self, fetch_sequencer: bool) -> Result<u32>`

#### `fn set_input_buffer_size(&self, size: u32) -> Result<()>`

## Trait Implementations

### `impl<'a> Drop for Input<'a>`
[src]

#### `fn drop(&mut self)`

A method called when the value goes out of scope. Read more

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)