pub struct DblClickBuilder {
inner: Weak<PageImpl>,
args: MouseClickArgs,
}Fields§
§inner: Weak<PageImpl>§args: MouseClickArgsImplementations§
Source§impl DblClickBuilder
impl DblClickBuilder
pub(crate) fn new(inner: Weak<PageImpl>, x: f64, y: f64) -> Self
pub async fn dblclick(self) -> Result<(), Arc<Error>>
Defaults to left.
Sourcepub fn click_count(self, x: i32) -> Self
pub fn click_count(self, x: i32) -> Self
defaults to 1. See [UIEvent.detail].
Sourcepub fn delay(self, x: f64) -> Self
pub fn delay(self, x: f64) -> Self
Time to wait between mousedown and mouseup in milliseconds. Defaults to 0.
pub fn clear_click_count(self) -> Self
pub fn clear_delay(self) -> Self
Auto Trait Implementations§
impl Freeze for DblClickBuilder
impl RefUnwindSafe for DblClickBuilder
impl Send for DblClickBuilder
impl Sync for DblClickBuilder
impl Unpin for DblClickBuilder
impl UnwindSafe for DblClickBuilder
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