pub enum VolumeCommand {
Up(f32),
Down(f32),
Set(f32),
Mute,
Unmute,
ToggleMute,
}Expand description
Volume commands
Variants§
Trait Implementations§
Source§impl Clone for VolumeCommand
impl Clone for VolumeCommand
Source§fn clone(&self) -> VolumeCommand
fn clone(&self) -> VolumeCommand
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VolumeCommand
impl Debug for VolumeCommand
Source§impl Display for VolumeCommand
impl Display for VolumeCommand
Source§impl PartialEq for VolumeCommand
impl PartialEq for VolumeCommand
impl Copy for VolumeCommand
impl StructuralPartialEq for VolumeCommand
Auto Trait Implementations§
impl Freeze for VolumeCommand
impl RefUnwindSafe for VolumeCommand
impl Send for VolumeCommand
impl Sync for VolumeCommand
impl Unpin for VolumeCommand
impl UnwindSafe for VolumeCommand
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