[][src]Struct alsa::seq::PortInfo

pub struct PortInfo(_);

Methods

impl PortInfo[src]

pub fn empty() -> Result<Self>[src]

Creates a new PortInfo with all fields set to zero.

pub fn get_client(&self) -> i32[src]

pub fn get_port(&self) -> i32[src]

pub fn get_name(&self) -> Result<&str>[src]

pub fn set_name(&mut self, name: &CStr)[src]

pub fn get_capability(&self) -> PortCap[src]

pub fn get_type(&self) -> PortType[src]

pub fn set_capability(&self, c: PortCap)[src]

pub fn set_type(&self, c: PortType)[src]

pub fn get_midi_channels(&self) -> i32[src]

pub fn get_midi_voices(&self) -> i32[src]

pub fn get_synth_voices(&self) -> i32[src]

pub fn get_read_use(&self) -> i32[src]

pub fn get_write_use(&self) -> i32[src]

pub fn get_port_specified(&self) -> bool[src]

pub fn get_timestamping(&self) -> bool[src]

pub fn get_timestamp_real(&self) -> bool[src]

pub fn get_timestamp_queue(&self) -> i32[src]

pub fn set_midi_channels(&self, value: i32)[src]

pub fn set_midi_voices(&self, value: i32)[src]

pub fn set_synth_voices(&self, value: i32)[src]

pub fn set_port_specified(&self, value: bool)[src]

pub fn set_timestamping(&self, value: bool)[src]

pub fn set_timestamp_real(&self, value: bool)[src]

pub fn set_timestamp_queue(&self, value: i32)[src]

Trait Implementations

impl Drop for PortInfo[src]

impl Send for PortInfo[src]

impl Debug for PortInfo[src]

Auto Trait Implementations

impl !Sync for PortInfo

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]