pub struct MediaButtons {
pub mic_mute: Option<bool>,
pub camera_disable: Option<bool>,
}
Expand description
Setting service internal representation of hw media buttons. Used to send OnButton events in the service.
Fields§
§mic_mute: Option<bool>
§camera_disable: Option<bool>
Trait Implementations§
Source§impl Clone for MediaButtons
impl Clone for MediaButtons
Source§fn clone(&self) -> MediaButtons
fn clone(&self) -> MediaButtons
Returns a copy 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 MediaButtons
impl Debug for MediaButtons
Source§impl From<MediaButtons> for Request
impl From<MediaButtons> for Request
Source§fn from(event: MediaButtons) -> Self
fn from(event: MediaButtons) -> Self
Converts to this type from the input type.
Source§impl From<MediaButtonsEvent> for MediaButtons
impl From<MediaButtonsEvent> for MediaButtons
Source§fn from(event: MediaButtonsEvent) -> Self
fn from(event: MediaButtonsEvent) -> Self
Converts to this type from the input type.
Source§impl PartialEq for MediaButtons
impl PartialEq for MediaButtons
impl Copy for MediaButtons
impl Eq for MediaButtons
impl StructuralPartialEq for MediaButtons
Auto Trait Implementations§
impl Freeze for MediaButtons
impl RefUnwindSafe for MediaButtons
impl Send for MediaButtons
impl Sync for MediaButtons
impl Unpin for MediaButtons
impl UnwindSafe for MediaButtons
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)