pub struct ActivationOptions {
pub activation: ClickActivation,
pub scroll: ClickScroll,
pub actionability: ClickActionability,
pub deprecations: Vec<String>,
}Expand description
Resolved activation options.
Fields§
§activation: ClickActivationHow the click is delivered.
scroll: ClickScrollWhat may happen to the scroll position.
actionability: ClickActionabilityWhether engine pre-checks are skipped.
deprecations: Vec<String>Deprecation notices raised while resolving.
Implementations§
Source§impl ActivationOptions
impl ActivationOptions
Sourcepub fn from_no_auto_scroll(no_auto_scroll: bool) -> Self
pub fn from_no_auto_scroll(no_auto_scroll: bool) -> Self
Resolve the deprecated no_auto_scroll flag onto the new axes.
no_auto_scroll asked for “do not scroll”, so it maps to
ClickScroll::None - the axis that actually delivers that - and not to
the force flag it used to be routed through.
Trait Implementations§
Source§impl Clone for ActivationOptions
impl Clone for ActivationOptions
Source§fn clone(&self) -> ActivationOptions
fn clone(&self) -> ActivationOptions
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 ActivationOptions
impl Debug for ActivationOptions
Source§impl Default for ActivationOptions
impl Default for ActivationOptions
Source§fn default() -> ActivationOptions
fn default() -> ActivationOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ActivationOptions
impl RefUnwindSafe for ActivationOptions
impl Send for ActivationOptions
impl Sync for ActivationOptions
impl Unpin for ActivationOptions
impl UnsafeUnpin for ActivationOptions
impl UnwindSafe for ActivationOptions
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