pub struct ConsumerControlsDeviceDescriptor {
pub buttons: Vec<ConsumerControlButton>,
}
Fields§
The list of buttons that this device contains.
Trait Implementations§
source§impl Clone for ConsumerControlsDeviceDescriptor
impl Clone for ConsumerControlsDeviceDescriptor
source§fn clone(&self) -> ConsumerControlsDeviceDescriptor
fn clone(&self) -> ConsumerControlsDeviceDescriptor
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 PartialEq for ConsumerControlsDeviceDescriptor
impl PartialEq for ConsumerControlsDeviceDescriptor
source§fn eq(&self, other: &ConsumerControlsDeviceDescriptor) -> bool
fn eq(&self, other: &ConsumerControlsDeviceDescriptor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ConsumerControlsDeviceDescriptor
impl StructuralPartialEq for ConsumerControlsDeviceDescriptor
Auto Trait Implementations§
impl Freeze for ConsumerControlsDeviceDescriptor
impl RefUnwindSafe for ConsumerControlsDeviceDescriptor
impl Send for ConsumerControlsDeviceDescriptor
impl Sync for ConsumerControlsDeviceDescriptor
impl Unpin for ConsumerControlsDeviceDescriptor
impl UnwindSafe for ConsumerControlsDeviceDescriptor
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