pub enum ArgShape {
None,
BareString,
Selector,
Mapping,
Path,
Coord,
Integer,
}Expand description
Shape of a verb’s argument. Determines how the parser + codemod treat the yaml body.
Variants§
None
No argument (- back, - stopApp, - waitForAnimationToEnd).
BareString
Bare string (- inputText: hello, - pressKey: enter).
Selector
Selector — short-form string OR long-form mapping
({ text | id | label ... }).
Mapping
Mapping with domain-specific keys (launchApp, extendedWaitUntil,
assertScreenshot, expect.signal).
Path
Path string (- runFlow: path/to.yaml).
Coord
Coordinate pair or normalized 0..1 point
(tapOn: { point: "X%,Y%" }).
Integer
Integer count (eraseText: 5).
Trait Implementations§
impl Copy for ArgShape
impl Eq for ArgShape
impl StructuralPartialEq for ArgShape
Auto Trait Implementations§
impl Freeze for ArgShape
impl RefUnwindSafe for ArgShape
impl Send for ArgShape
impl Sync for ArgShape
impl Unpin for ArgShape
impl UnsafeUnpin for ArgShape
impl UnwindSafe for ArgShape
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