[−][src]Struct alsa::seq::PortInfo
snd_seq_port_info_t wrapper
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
Auto Trait Implementations
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,