Struct wireplumber::spa::SpaRoutes
source · pub struct SpaRoutes { /* private fields */ }
Implementations§
source§impl SpaRoutes
impl SpaRoutes
pub fn with_params<I: IntoIterator<Item = SpaRoute>>(routes: I) -> Self
pub fn into_routes(self) -> Vec<SpaRoute>
pub fn into_params(self) -> impl Iterator<Item = SpaPod>
pub async fn from_object<O: IsA<PipewireObject>>(obj: &O) -> Result<Self>
pub fn has_volume(&self, device_index: u32) -> bool
pub fn by_index(&self, index: u32) -> Option<&SpaRoute>
pub fn by_device_index(&self, device_index: u32) -> Option<&SpaRoute>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SpaRoutes
impl RefUnwindSafe for SpaRoutes
impl !Send for SpaRoutes
impl !Sync for SpaRoutes
impl Unpin for SpaRoutes
impl UnwindSafe for SpaRoutes
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