pub enum Action {
Engine {
command: usize,
args: Vec<Expr>,
},
Window {
op: WindowOp,
window: String,
},
Media {
player: String,
op: MediaOp,
args: Vec<Expr>,
},
Session {
field: FieldRef,
op: SessionOp,
},
}Variants§
Engine
Engine command by catalog index with positional arguments.
Window
Generated window session command.
Media
Standard media command on an application player; the player id is
the first parameter, args the rest.
Session
A change of a session draft: interface state such as an open panel or a step of a flow, not engine state.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Action
impl<'de> Deserialize<'de> for Action
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 Action
Auto Trait Implementations§
impl Freeze for Action
impl RefUnwindSafe for Action
impl Send for Action
impl Sync for Action
impl Unpin for Action
impl UnsafeUnpin for Action
impl UnwindSafe for Action
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