[−][src]Struct pulsectl::controllers::types::DevicePortInfo
These structs are direct representations of what libpulse_binding gives created to be copyable / cloneable for use in and out of callbacks This is a wrapper around SinkPortInfo and SourcePortInfo as they have the same members
Fields
name: Option<String>Name of the sink.
description: Option<String>Description of this sink.
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
impl Clone for DevicePortInfo[src]
pub fn clone(&self) -> DevicePortInfo[src]
pub fn clone_from(&mut self, source: &Self)1.0.0[src]
impl<'a> From<&'a Box<SinkPortInfo<'a>, Global>> for DevicePortInfo[src]
pub fn from(item: &'a Box<SinkPortInfo<'a>>) -> Self[src]
impl<'a> From<&'a Box<SourcePortInfo<'a>, Global>> for DevicePortInfo[src]
pub fn from(item: &'a Box<SourcePortInfo<'a>>) -> Self[src]
impl<'a> From<&'a SinkPortInfo<'a>> for DevicePortInfo[src]
pub fn from(item: &'a SinkPortInfo<'a>) -> Self[src]
impl<'a> From<&'a SourcePortInfo<'a>> for DevicePortInfo[src]
pub fn from(item: &'a SourcePortInfo<'a>) -> Self[src]
Auto Trait Implementations
impl RefUnwindSafe for DevicePortInfo[src]
impl Send for DevicePortInfo[src]
impl Sync for DevicePortInfo[src]
impl Unpin for DevicePortInfo[src]
impl UnwindSafe for DevicePortInfo[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn clone_into(&self, target: &mut T)[src]
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.
pub 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>,