pub struct CheckOptionsBuilder { /* private fields */ }Expand description
Builder for CheckOptions
Implementations§
Source§impl CheckOptionsBuilder
impl CheckOptionsBuilder
Sourcepub fn position(self, position: Position) -> Self
pub fn position(self, position: Position) -> Self
Set position to click relative to element top-left corner
Sourcepub fn scroll(self, scroll: Scroll) -> Self
pub fn scroll(self, scroll: Scroll) -> Self
Opt out of scrolling the element into view (Scroll::None), or keep
Playwright’s default (Scroll::Auto)
Sourcepub fn build(self) -> CheckOptions
pub fn build(self) -> CheckOptions
Build the CheckOptions
Trait Implementations§
Source§impl Clone for CheckOptionsBuilder
impl Clone for CheckOptionsBuilder
Source§fn clone(&self) -> CheckOptionsBuilder
fn clone(&self) -> CheckOptionsBuilder
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CheckOptionsBuilder
impl Debug for CheckOptionsBuilder
Source§impl Default for CheckOptionsBuilder
impl Default for CheckOptionsBuilder
Source§fn default() -> CheckOptionsBuilder
fn default() -> CheckOptionsBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CheckOptionsBuilder
impl RefUnwindSafe for CheckOptionsBuilder
impl Send for CheckOptionsBuilder
impl Sync for CheckOptionsBuilder
impl Unpin for CheckOptionsBuilder
impl UnsafeUnpin for CheckOptionsBuilder
impl UnwindSafe for CheckOptionsBuilder
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