Struct joycon_sys::input::DeviceInfo
source · #[repr(packed(1))]pub struct DeviceInfo {
pub firmware_version: FirmwareVersion,
pub which_controller: RawId<WhichController>,
pub mac_address: MACAddress,
pub use_spi_colors: RawId<UseSPIColors>,
/* private fields */
}
Fields§
§firmware_version: FirmwareVersion
§which_controller: RawId<WhichController>
§mac_address: MACAddress
§use_spi_colors: RawId<UseSPIColors>
Trait Implementations§
source§impl Clone for DeviceInfo
impl Clone for DeviceInfo
source§fn clone(&self) -> DeviceInfo
fn clone(&self) -> DeviceInfo
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 DeviceInfo
impl Debug for DeviceInfo
impl Copy for DeviceInfo
Auto Trait Implementations§
impl Freeze for DeviceInfo
impl RefUnwindSafe for DeviceInfo
impl Send for DeviceInfo
impl Sync for DeviceInfo
impl Unpin for DeviceInfo
impl UnwindSafe for DeviceInfo
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