Enum accesskit::DefaultActionVerb [−][src]
pub enum DefaultActionVerb {
Click,
Focus,
Check,
Uncheck,
ClickAncestor,
Jump,
Open,
Press,
Select,
}
Expand description
Describes the action that will be performed on a given node when
executing the default action, which is a click.
In contrast to Action
, these describe what the user can do on the
object, e.g. “press”, not what happens to the object as a result.
Only one verb can be used at a time to describe the default action.
Variants
Click
Focus
Check
Uncheck
ClickAncestor
A click will be performed on one of the node’s ancestors. This happens when the node itself is not clickable, but one of its ancestors has click handlers attached which are able to capture the click as it bubbles up.
Jump
Open
Press
Select
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for DefaultActionVerb
impl Send for DefaultActionVerb
impl Sync for DefaultActionVerb
impl Unpin for DefaultActionVerb
impl UnwindSafe for DefaultActionVerb
Blanket Implementations
Mutably borrows from an owned value. Read more