pub struct Device { /* private fields */ }Expand description
Add device driver. prop=value sets driver properties. Valid
properties depend on the driver. To get help on possible drivers and
properties, use -device help and -device driver,help.
TODO
- constrain
Implementations§
Trait Implementations§
Source§impl Ord for Device
impl Ord for Device
Source§impl PartialOrd for Device
impl PartialOrd for Device
Source§impl ToCommand for Device
impl ToCommand for Device
fn to_command(&self) -> Vec<String>
fn to_single_command(&self) -> String
impl Eq for Device
impl StructuralPartialEq for Device
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for 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