Struct goxlr_profile_loader::components::mute::MuteButton
source · [−]pub struct MuteButton { /* private fields */ }
Implementations
sourceimpl MuteButton
impl MuteButton
pub fn new(id: u8) -> Self
pub fn colour_map_mut(&mut self) -> &mut ColourMap
pub fn colour_map(&self) -> &ColourMap
pub fn mute_function(&self) -> &MuteFunction
pub fn set_mute_function(&mut self, mute_function: MuteFunction)
pub fn set_previous_volume(&mut self, previous_volume: u8)
pub fn previous_volume(&self) -> u8
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MuteButton
impl Send for MuteButton
impl Sync for MuteButton
impl Unpin for MuteButton
impl UnwindSafe for MuteButton
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more