#[repr(C)]pub struct V5_Device {
pub zero_indexed_port: u8,
pub one_indexed_port: u8,
pub device_type: V5_DeviceType,
pub installed: bool,
/* private fields */
}Expand description
A device plugged into a smart port
This private API type was derived from analysis of the bits returned
by vexDeviceGetByIndex. Not all fields are known.
Fields§
§zero_indexed_port: u8§one_indexed_port: u8§device_type: V5_DeviceType§installed: boolTrait Implementations§
source§impl PartialEq for V5_Device
impl PartialEq for V5_Device
impl Copy for V5_Device
impl Eq for V5_Device
impl StructuralPartialEq for V5_Device
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