pub struct MobileDevice { /* private fields */ }
Expand description
See the details at https://chromedriver.chromium.org/mobile-emulation
Implementations§
Source§impl MobileDevice
impl MobileDevice
Sourcepub fn standard_device(device_name: &str) -> Self
pub fn standard_device(device_name: &str) -> Self
Method to select to standard device from the Chrome devtools
Auto Trait Implementations§
impl Freeze for MobileDevice
impl RefUnwindSafe for MobileDevice
impl Send for MobileDevice
impl Sync for MobileDevice
impl Unpin for MobileDevice
impl UnwindSafe for MobileDevice
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