pub struct Flow {
pub session: String,
pub settings: Settings,
pub steps: Vec<Step>,
}Expand description
A parsed flow file.
Fields§
§session: StringPath to the pixelcoords session directory (or its session.json).
settings: Settings§steps: Vec<Step>Implementations§
Source§impl Flow
impl Flow
Sourcepub fn targets(&self) -> Vec<&str>
pub fn targets(&self) -> Vec<&str>
Every distinct label the flow references, in first-use order.
Sourcepub fn acting_targets(&self) -> Vec<&str>
pub fn acting_targets(&self) -> Vec<&str>
The labels a run will actually act on, in first-use order.
These are the ones that must be found before anything is
injected. The rest — a wait_for waiting for a dialog, a
wait_gone waiting for a spinner to clear — are by definition
allowed to be absent, and demanding them up front would make
those verbs impossible to use.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Flow
impl<'de> Deserialize<'de> for Flow
Source§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
impl StructuralPartialEq for Flow
Auto Trait Implementations§
impl Freeze for Flow
impl RefUnwindSafe for Flow
impl Send for Flow
impl Sync for Flow
impl Unpin for Flow
impl UnsafeUnpin for Flow
impl UnwindSafe for Flow
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