pub struct ControllerInfo {
pub slot: u8,
pub slot_state: SlotState,
pub device_type: DeviceType,
pub connection_type: ConnectionType,
pub mac_address: u64,
pub battery_status: BatteryStatus,
}Fields§
§slot: u8§slot_state: SlotState§device_type: DeviceType§connection_type: ConnectionType§mac_address: u64§battery_status: BatteryStatusTrait Implementations§
Source§impl Clone for ControllerInfo
impl Clone for ControllerInfo
Source§fn clone(&self) -> ControllerInfo
fn clone(&self) -> ControllerInfo
Returns a duplicate 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 ControllerInfo
impl Debug for ControllerInfo
Source§impl Default for ControllerInfo
impl Default for ControllerInfo
Source§fn default() -> ControllerInfo
fn default() -> ControllerInfo
Returns the “default value” for a type. Read more
Source§impl PartialEq for ControllerInfo
impl PartialEq for ControllerInfo
impl Copy for ControllerInfo
impl StructuralPartialEq for ControllerInfo
Auto Trait Implementations§
impl Freeze for ControllerInfo
impl RefUnwindSafe for ControllerInfo
impl Send for ControllerInfo
impl Sync for ControllerInfo
impl Unpin for ControllerInfo
impl UnwindSafe for ControllerInfo
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