pub struct DispatchDragEventBuilder { /* private fields */ }Implementations§
Source§impl DispatchDragEventBuilder
impl DispatchDragEventBuilder
pub fn type(self, type: impl Into<DispatchDragEventType>) -> Self
pub fn x(self, x: impl Into<f64>) -> Self
pub fn y(self, y: impl Into<f64>) -> Self
pub fn data(self, data: impl Into<DragData>) -> Self
pub fn modifiers(self, modifiers: impl Into<i64>) -> Self
pub fn build(self) -> Result<DispatchDragEvent, String>
Trait Implementations§
Source§impl Clone for DispatchDragEventBuilder
impl Clone for DispatchDragEventBuilder
Source§fn clone(&self) -> DispatchDragEventBuilder
fn clone(&self) -> DispatchDragEventBuilder
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 Default for DispatchDragEventBuilder
impl Default for DispatchDragEventBuilder
Source§fn default() -> DispatchDragEventBuilder
fn default() -> DispatchDragEventBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DispatchDragEventBuilder
impl RefUnwindSafe for DispatchDragEventBuilder
impl Send for DispatchDragEventBuilder
impl Sync for DispatchDragEventBuilder
impl Unpin for DispatchDragEventBuilder
impl UnsafeUnpin for DispatchDragEventBuilder
impl UnwindSafe for DispatchDragEventBuilder
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