Enum accesskit::ActionData [−][src]
pub enum ActionData {
CustomAction(i32),
Value(Box<str>),
NumericValue(f64),
ScrollTargetRect(Rect),
ScrollToPoint(Point),
SetScrollOffset(Point),
SetTextSelection(TextSelection),
}
Variants
CustomAction(i32)
Tuple Fields
0: i32
Value(Box<str>)
NumericValue(f64)
Tuple Fields
0: f64
ScrollTargetRect(Rect)
Tuple Fields
0: Rect
Optional target rectangle for Action::ScrollIntoView
, in
the coordinate space of the action’s target node.
ScrollToPoint(Point)
Tuple Fields
0: Point
Target for Action::ScrollToPoint
, in platform-native coordinates
relative to the origin of the tree’s container (e.g. window).
SetScrollOffset(Point)
Tuple Fields
0: Point
Target for Action::SetScrollOffset
, in the coordinate space
of the action’s target node.
SetTextSelection(TextSelection)
Tuple Fields
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for ActionData
impl Send for ActionData
impl Sync for ActionData
impl Unpin for ActionData
impl UnwindSafe for ActionData
Blanket Implementations
Mutably borrows from an owned value. Read more