pub enum Device {
IOS {
device: Device,
runtime: Runtime,
device_type: DeviceType,
},
}Expand description
Platform-independent wrapper around the platform-dependent device types. Note: on iOS, UI automation only works in the iOS Simulator, not on physical devices. As such, it’s not necessary to make that distinction here.
Variants§
IOS
Wrapper for iOS simulators.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnsafeUnpin 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