#[repr(C)]
pub struct pa_source_info {
Show 24 fields pub name: *const c_char, pub index: u32, pub description: *const c_char, pub sample_spec: pa_sample_spec, pub channel_map: pa_channel_map, pub owner_module: u32, pub volume: pa_cvolume, pub mute: i32, pub monitor_of_sink: u32, pub monitor_of_sink_name: *const c_char, pub latency: pa_usec_t, pub driver: *const c_char, pub flags: pa_source_flags_t, pub proplist: *mut pa_proplist, pub configured_latency: pa_usec_t, pub base_volume: pa_volume_t, pub state: pa_source_state_t, pub n_volume_steps: u32, pub card: u32, pub n_ports: u32, pub ports: *mut *mut pa_source_port_info, pub active_port: *mut pa_source_port_info, pub n_formats: u8, pub formats: *mut *mut pa_format_info,
}

Fields§

§name: *const c_char§index: u32§description: *const c_char§sample_spec: pa_sample_spec§channel_map: pa_channel_map§owner_module: u32§volume: pa_cvolume§mute: i32§monitor_of_sink: u32§monitor_of_sink_name: *const c_char§latency: pa_usec_t§driver: *const c_char§flags: pa_source_flags_t§proplist: *mut pa_proplist§configured_latency: pa_usec_t§base_volume: pa_volume_t§state: pa_source_state_t§n_volume_steps: u32§card: u32§n_ports: u32§ports: *mut *mut pa_source_port_info§active_port: *mut pa_source_port_info§n_formats: u8§formats: *mut *mut pa_format_info

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.