pub enum GainControlEvent {
OnGainMuteChanged {
gain_db: f32,
muted: bool,
},
}
Variants§
Implementations§
Source§impl GainControlEvent
impl GainControlEvent
pub fn into_on_gain_mute_changed(self) -> Option<(f32, bool)>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GainControlEvent
impl RefUnwindSafe for GainControlEvent
impl Send for GainControlEvent
impl Sync for GainControlEvent
impl Unpin for GainControlEvent
impl UnwindSafe for GainControlEvent
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