#[repr(C)]pub struct V5_Device {
pub port: u8,
pub exists: bool,
pub device_type: V5_DeviceType,
pub timestamp: u32,
pub device_specific_data: V5_DeviceData,
}Expand description
A device plugged into a smart port
Fields§
§port: u8§exists: bool§device_type: V5_DeviceType§timestamp: u32§device_specific_data: V5_DeviceDataTrait Implementations§
Auto Trait Implementations§
impl Freeze for V5_Device
impl RefUnwindSafe for V5_Device
impl !Send for V5_Device
impl !Sync for V5_Device
impl Unpin for V5_Device
impl UnwindSafe for V5_Device
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