pub struct Behaviors { /* private fields */ }Expand description
Selection behaviors for single-, double-, and triple-click gestures.
Implementations§
Source§impl Behaviors
impl Behaviors
Sourcepub fn with_single_click_behavior(self, behavior: Behavior) -> Self
pub fn with_single_click_behavior(self, behavior: Behavior) -> Self
Set the single click behavior.
Sourcepub fn with_double_click_behavior(self, behavior: Behavior) -> Self
pub fn with_double_click_behavior(self, behavior: Behavior) -> Self
Set the double click behavior.
Sourcepub fn with_triple_click_behavior(self, behavior: Behavior) -> Self
pub fn with_triple_click_behavior(self, behavior: Behavior) -> Self
Set the triple click behavior.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Behaviors
impl RefUnwindSafe for Behaviors
impl Send for Behaviors
impl Sync for Behaviors
impl Unpin for Behaviors
impl UnsafeUnpin for Behaviors
impl UnwindSafe for Behaviors
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