Struct libpulse_binding::context::introspect::CardPortInfo
source · pub struct CardPortInfo<'a> {
pub name: Option<Cow<'a, str>>,
pub description: Option<Cow<'a, str>>,
pub priority: u32,
pub available: PortAvailable,
pub direction: FlagSet,
pub proplist: Proplist,
pub latency_offset: i64,
pub profiles: Vec<CardProfileInfo2<'a>>,
}Expand description
Stores information about a specific port of a card.
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: PortAvailableAvailability status of this port.
direction: FlagSetThe direction of this port.
proplist: ProplistProperty list.
latency_offset: i64Latency offset of the port that gets added to the sink/source latency when the port is active.
profiles: Vec<CardProfileInfo2<'a>>Set of available profiles.
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for CardPortInfo<'a>
impl<'a> !Send for CardPortInfo<'a>
impl<'a> !Sync for CardPortInfo<'a>
impl<'a> Unpin for CardPortInfo<'a>
impl<'a> UnwindSafe for CardPortInfo<'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