pub struct PressSequentiallyOptions {
pub delay: Option<f64>,
}Expand description
Options for [Locator::press_sequentially()].
Controls timing between key presses when typing characters one by one.
See: https://playwright.dev/docs/api/class-locator#locator-press-sequentially
Fields§
§delay: Option<f64>Delay between key presses in milliseconds. Defaults to 0.
Implementations§
Source§impl PressSequentiallyOptions
impl PressSequentiallyOptions
Sourcepub fn builder() -> PressSequentiallyOptionsBuilder
pub fn builder() -> PressSequentiallyOptionsBuilder
Create a new builder for PressSequentiallyOptions
Trait Implementations§
Source§impl Clone for PressSequentiallyOptions
impl Clone for PressSequentiallyOptions
Source§fn clone(&self) -> PressSequentiallyOptions
fn clone(&self) -> PressSequentiallyOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PressSequentiallyOptions
impl Debug for PressSequentiallyOptions
Source§impl Default for PressSequentiallyOptions
impl Default for PressSequentiallyOptions
Source§fn default() -> PressSequentiallyOptions
fn default() -> PressSequentiallyOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PressSequentiallyOptions
impl RefUnwindSafe for PressSequentiallyOptions
impl Send for PressSequentiallyOptions
impl Sync for PressSequentiallyOptions
impl Unpin for PressSequentiallyOptions
impl UnsafeUnpin for PressSequentiallyOptions
impl UnwindSafe for PressSequentiallyOptions
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