pub struct Source {
pub index: u32,
pub name: String,
pub alias: String,
pub channels: u16,
pub volume: Vec<u32>,
pub muted: bool,
pub active: i32,
}Fields§
§index: u32§name: String§alias: String§channels: u16§volume: Vec<u32>§muted: bool§active: i32Trait Implementations§
source§impl Append for Source
impl Append for Source
source§fn append_by_ref(&self, iter: &mut IterAppend<'_>)
fn append_by_ref(&self, iter: &mut IterAppend<'_>)
Performs the append operation by borrowing self.
source§fn append(self, ia: &mut IterAppend<'_>)where
Self: Sized,
fn append(self, ia: &mut IterAppend<'_>)where Self: Sized,
Performs the append operation by consuming self.
source§impl From<&SourceInfo<'_>> for Source
impl From<&SourceInfo<'_>> for Source
source§fn from(value: &SourceInfo<'_>) -> Self
fn from(value: &SourceInfo<'_>) -> Self
Converts to this type from the input type.
impl Send for Source
impl Sync for Source
Auto Trait Implementations§
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more