pub enum Op {
Show 23 variants
New,
Check,
Lint,
Modules,
Add,
Run,
Scene,
Replay,
Playtest,
Autobalance,
Import,
Bake,
Doctor,
Explain,
Attach,
Export,
Start,
Step,
FramePng,
Events,
Perf,
Reset,
Stop,
}Expand description
An operation of the contract.
Variants§
New
A new game from a template.
Check
Every error of the game’s content.
Lint
What is wrong with the shape of the game’s code.
Modules
The catalog of modules, and the game’s.
Add
A module turned on.
Run
A key script played headless.
Scene
The scene on screen.
Replay
A record replayed.
Playtest
Named bots’ tries judged against the game’s checks.
Autobalance
A stage changed until the game’s named bots land in their bands.
Import
A file read through the format registry.
Bake
The game’s sources baked into a pack.
Doctor
The toolchain checked.
Explain
A problem code’s page.
Attach
A running build reached over the live link.
Export
The game checked against a target, built and packaged for it.
Start
The MCP session’s game started headless.
Step
The MCP session’s game played on: a script, then idle frames.
FramePng
A picture of the MCP session’s frame.
Events
What happened in the MCP session’s game.
Perf
The MCP session’s frames’ records since a number.
Reset
The MCP session’s game started again.
Stop
The MCP session’s game stopped.
Implementations§
Trait Implementations§
impl Copy for Op
Source§impl<'de> Deserialize<'de> for Op
impl<'de> Deserialize<'de> for Op
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>,
impl Eq for Op
Source§impl JsonSchema for Op
impl JsonSchema for Op
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreimpl StructuralPartialEq for Op
Auto Trait Implementations§
impl Freeze for Op
impl RefUnwindSafe for Op
impl Send for Op
impl Sync for Op
impl Unpin for Op
impl UnsafeUnpin for Op
impl UnwindSafe for Op
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.