Struct playdate_device::device::query::Query
source · pub struct Query {
pub value: Option<Value>,
}Expand description
Device query. Contains 4 options:
- None: query all devices
- Serial: query by serial number
- Path: query by path/name of serial port
- Com: query by COM port number (windows only)
Fields§
§value: Option<Value>Serial number of usb device or absolute path to socket. Format: ‘PDUN-XNNNNNN’ or ‘/dev/cu.usbmodemPDUN_XNNNNNN(N)’.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Query
impl RefUnwindSafe for Query
impl Send for Query
impl Sync for Query
impl Unpin for Query
impl UnwindSafe for Query
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