Struct joycon_rs::joycon::device_info::JoyConDeviceInfo [−][src]
pub struct JoyConDeviceInfo {
pub firmware_version: u16,
pub device_type: JoyConDeviceType,
pub mac_address: JoyConMacAddress,
pub colors_in_spi: bool,
}
Fields
firmware_version: u16
device_type: JoyConDeviceType
mac_address: JoyConMacAddress
colors_in_spi: bool
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
fn once<D>(
driver: &mut D
) -> JoyConResult<SubCommandReply<StandardInputReport<SubCommandReport<Self>>>> where
Self: Sized,
D: JoyConDriver,
fn once<D>(
driver: &mut D
) -> JoyConResult<SubCommandReply<StandardInputReport<SubCommandReport<Self>>>> where
Self: Sized,
D: JoyConDriver,
The mode remains the same, sending commands and receiving replies.
Auto Trait Implementations
impl RefUnwindSafe for JoyConDeviceInfo
impl Send for JoyConDeviceInfo
impl Sync for JoyConDeviceInfo
impl Unpin for JoyConDeviceInfo
impl UnwindSafe for JoyConDeviceInfo
Blanket Implementations
Mutably borrows from an owned value. Read more