pub struct MediaButtonsEvent<'de> { /* private fields */ }Expand description
The wire type corresponding to MediaButtonsEvent.
Implementations§
Source§impl<'de> MediaButtonsEvent<'de>
impl<'de> MediaButtonsEvent<'de>
pub fn volume(&self) -> Option<&i8>
pub fn take_volume(&mut self) -> Option<i8>
pub fn mic_mute(&self) -> Option<&bool>
pub fn take_mic_mute(&mut self) -> Option<bool>
pub fn pause(&self) -> Option<&bool>
pub fn take_pause(&mut self) -> Option<bool>
pub fn camera_disable(&self) -> Option<&bool>
pub fn take_camera_disable(&mut self) -> Option<bool>
pub fn power(&self) -> Option<&bool>
pub fn take_power(&mut self) -> Option<bool>
pub fn function(&self) -> Option<&bool>
pub fn take_function(&mut self) -> Option<bool>
pub fn device_id(&self) -> Option<&Uint32>
pub fn take_device_id(&mut self) -> Option<Uint32>
pub fn wake_lease(&self) -> Option<&EventPair>
pub fn take_wake_lease(&mut self) -> Option<EventPair>
pub fn trace_flow_id(&self) -> Option<&Uint64>
pub fn take_trace_flow_id(&mut self) -> Option<Uint64>
Trait Implementations§
Source§impl Constrained for MediaButtonsEvent<'_>
impl Constrained for MediaButtonsEvent<'_>
Source§impl<'de> Debug for MediaButtonsEvent<'de>
impl<'de> Debug for MediaButtonsEvent<'de>
Source§impl<'de, ___D> Decode<___D> for MediaButtonsEvent<'de>where
___D: Decoder<'de> + ?Sized + HandleDecoder,
impl<'de, ___D> Decode<___D> for MediaButtonsEvent<'de>where
___D: Decoder<'de> + ?Sized + HandleDecoder,
Source§impl<'de> Drop for MediaButtonsEvent<'de>
impl<'de> Drop for MediaButtonsEvent<'de>
Source§impl<___E> Encode<MediaButtonsEvent<'static>, ___E> for MediaButtonsEventwhere
___E: Encoder + ?Sized + HandleEncoder,
impl<___E> Encode<MediaButtonsEvent<'static>, ___E> for MediaButtonsEventwhere
___E: Encoder + ?Sized + HandleEncoder,
Source§fn encode(
self,
encoder: &mut ___E,
out: &mut MaybeUninit<MediaButtonsEvent<'static>>,
_: (),
) -> Result<(), EncodeError>
fn encode( self, encoder: &mut ___E, out: &mut MaybeUninit<MediaButtonsEvent<'static>>, _: (), ) -> Result<(), EncodeError>
Encodes this value into an encoder and output.
§const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
const COPY_OPTIMIZATION: CopyOptimization<Self, W> = _
Source§impl<'de> FromWire<MediaButtonsEvent<'de>> for MediaButtonsEvent
impl<'de> FromWire<MediaButtonsEvent<'de>> for MediaButtonsEvent
Source§fn from_wire(wire_: MediaButtonsEvent<'de>) -> Self
fn from_wire(wire_: MediaButtonsEvent<'de>) -> Self
Converts the given owned value to this type.
§const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
const COPY_OPTIMIZATION: CopyOptimization<W, Self> = _
Source§impl<'de> IntoNatural for MediaButtonsEvent<'de>
impl<'de> IntoNatural for MediaButtonsEvent<'de>
Source§type Natural = MediaButtonsEvent
type Natural = MediaButtonsEvent
A good default type for this wire type to convert into.
§fn into_natural(self) -> Self::Natural
fn into_natural(self) -> Self::Natural
Converts this type into its natural equivalent.
Source§impl Wire for MediaButtonsEvent<'static>
impl Wire for MediaButtonsEvent<'static>
Source§type Narrowed<'de> = MediaButtonsEvent<'de>
type Narrowed<'de> = MediaButtonsEvent<'de>
The narrowed wire type, restricted to the
'de lifetime.Source§fn zero_padding(out: &mut MaybeUninit<Self>)
fn zero_padding(out: &mut MaybeUninit<Self>)
Writes zeroes to the padding for this type, if any.
Auto Trait Implementations§
impl<'de> !UnwindSafe for MediaButtonsEvent<'de>
impl<'de> Freeze for MediaButtonsEvent<'de>
impl<'de> RefUnwindSafe for MediaButtonsEvent<'de>
impl<'de> Send for MediaButtonsEvent<'de>
impl<'de> Sync for MediaButtonsEvent<'de>
impl<'de> Unpin for MediaButtonsEvent<'de>
impl<'de> UnsafeUnpin for MediaButtonsEvent<'de>
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]