pub struct MediaButtonsReport<T0, T1, T2, T3, T4, T5> {
pub volume_up: T0,
pub volume_down: T1,
pub mic_mute: T2,
pub reset: T3,
pub pause: T4,
pub camera_disable: T5,
}Expand description
The generic type corresponding to MediaButtonsReport.
Fields§
§volume_up: T0§volume_down: T1§mic_mute: T2§reset: T3§pause: T4§camera_disable: T5Trait Implementations§
Source§impl<___E, T0, T1, T2, T3, T4, T5> Encode<MediaButtonsReport, ___E> for MediaButtonsReport<T0, T1, T2, T3, T4, T5>
impl<___E, T0, T1, T2, T3, T4, T5> Encode<MediaButtonsReport, ___E> for MediaButtonsReport<T0, T1, T2, T3, T4, T5>
Source§fn encode(
self,
encoder_: &mut ___E,
out_: &mut MaybeUninit<MediaButtonsReport>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder_: &mut ___E, out_: &mut MaybeUninit<MediaButtonsReport>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Auto Trait Implementations§
impl<T0, T1, T2, T3, T4, T5> Freeze for MediaButtonsReport<T0, T1, T2, T3, T4, T5>
impl<T0, T1, T2, T3, T4, T5> RefUnwindSafe for MediaButtonsReport<T0, T1, T2, T3, T4, T5>where
T0: RefUnwindSafe,
T1: RefUnwindSafe,
T2: RefUnwindSafe,
T3: RefUnwindSafe,
T4: RefUnwindSafe,
T5: RefUnwindSafe,
impl<T0, T1, T2, T3, T4, T5> Send for MediaButtonsReport<T0, T1, T2, T3, T4, T5>
impl<T0, T1, T2, T3, T4, T5> Sync for MediaButtonsReport<T0, T1, T2, T3, T4, T5>
impl<T0, T1, T2, T3, T4, T5> Unpin for MediaButtonsReport<T0, T1, T2, T3, T4, T5>
impl<T0, T1, T2, T3, T4, T5> UnsafeUnpin for MediaButtonsReport<T0, T1, T2, T3, T4, T5>where
T0: UnsafeUnpin,
T1: UnsafeUnpin,
T2: UnsafeUnpin,
T3: UnsafeUnpin,
T4: UnsafeUnpin,
T5: UnsafeUnpin,
impl<T0, T1, T2, T3, T4, T5> UnwindSafe for MediaButtonsReport<T0, T1, T2, T3, T4, T5>where
T0: UnwindSafe,
T1: UnwindSafe,
T2: UnwindSafe,
T3: UnwindSafe,
T4: UnwindSafe,
T5: UnwindSafe,
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
§impl<T> InstanceFromServiceTransport<T> for T
impl<T> InstanceFromServiceTransport<T> for T
§fn from_service_transport(handle: T) -> T
fn from_service_transport(handle: T) -> T
Converts the given service transport handle of type
T to [Self]