pub trait StreamVolumeExt:
    IsA<StreamVolume>
    + Sealed
    + 'static {
    // Provided methods
    fn is_muted(&self) -> bool { ... }
    fn volume(&self, format: StreamVolumeFormat) -> f64 { ... }
    fn set_mute(&self, mute: bool) { ... }
    fn set_volume(&self, format: StreamVolumeFormat, val: f64) { ... }
    fn connect_mute_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_volume_notify<F: Fn(&Self) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}

Provided Methods§

source

fn is_muted(&self) -> bool

source

fn volume(&self, format: StreamVolumeFormat) -> f64

source

fn set_mute(&self, mute: bool)

source

fn set_volume(&self, format: StreamVolumeFormat, val: f64)

source

fn connect_mute_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_volume_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§