pub struct AudioSettings { /* private fields */ }Implementations§
Source§impl AudioSettings
impl AudioSettings
pub fn volume(&self, controller_type: AudioSinkType) -> u8
pub fn set_volume(&mut self, controller_type: AudioSinkType, value: u8)
pub fn increase_volume(&mut self, controller_type: AudioSinkType)
pub fn decrease_volume(&mut self, controller_type: AudioSinkType)
Trait Implementations§
Source§impl Clone for AudioSettings
impl Clone for AudioSettings
Source§fn clone(&self) -> AudioSettings
fn clone(&self) -> AudioSettings
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 AudioSettings
impl Debug for AudioSettings
Source§impl Default for AudioSettings
impl Default for AudioSettings
Source§impl<'de> Deserialize<'de> for AudioSettings
impl<'de> Deserialize<'de> for AudioSettings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AudioSettings
impl PartialEq for AudioSettings
Source§impl Serialize for AudioSettings
impl Serialize for AudioSettings
impl StructuralPartialEq for AudioSettings
Auto Trait Implementations§
impl Freeze for AudioSettings
impl RefUnwindSafe for AudioSettings
impl Send for AudioSettings
impl Sync for AudioSettings
impl Unpin for AudioSettings
impl UnsafeUnpin for AudioSettings
impl UnwindSafe for AudioSettings
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