Struct libpulse_binding::context::introspect::SinkPortInfo
source · #[repr(C)]pub struct SinkPortInfo<'a> {
pub name: Option<Cow<'a, str>>,
pub description: Option<Cow<'a, str>>,
pub priority: u32,
pub available: PortAvailable,
}Expand description
Stores information about a specific port of a sink.
Please note that this structure can be extended as part of evolutionary API updates at any time in any new release.
Fields
name: Option<Cow<'a, str>>Name of this port.
description: Option<Cow<'a, str>>Description of this port.
priority: u32The higher this value is, the more useful this port is as a default.
available: PortAvailableA flag indicating availability status of this port.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for SinkPortInfo<'a>
impl<'a> Send for SinkPortInfo<'a>
impl<'a> Sync for SinkPortInfo<'a>
impl<'a> Unpin for SinkPortInfo<'a>
impl<'a> UnwindSafe for SinkPortInfo<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more