pub enum VolumeControlEvent {
OnVolumeMuteChanged {
new_volume: f32,
new_muted: bool,
},
}
Variants§
Implementations§
Source§impl VolumeControlEvent
impl VolumeControlEvent
pub fn into_on_volume_mute_changed(self) -> Option<(f32, bool)>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for VolumeControlEvent
impl RefUnwindSafe for VolumeControlEvent
impl Send for VolumeControlEvent
impl Sync for VolumeControlEvent
impl Unpin for VolumeControlEvent
impl UnwindSafe for VolumeControlEvent
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