pub struct GestureDragBuilder { /* private fields */ }
Implementations§
Source§impl GestureDragBuilder
impl GestureDragBuilder
pub fn new() -> Self
pub fn build(self) -> GestureDrag
pub fn exclusive(self, exclusive: bool) -> Self
pub fn touch_only(self, touch_only: bool) -> Self
pub fn n_points(self, n_points: u32) -> Self
pub fn window(self, window: &Window) -> Self
pub fn propagation_phase(self, propagation_phase: PropagationPhase) -> Self
pub fn widget(self, widget: &Widget) -> Self
Auto Trait Implementations§
impl Freeze for GestureDragBuilder
impl RefUnwindSafe for GestureDragBuilder
impl !Send for GestureDragBuilder
impl !Sync for GestureDragBuilder
impl Unpin for GestureDragBuilder
impl UnwindSafe for GestureDragBuilder
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