pub trait ModelingCmdVariant: Serialize {
type Output: ModelingCmdOutput;
// Required methods
fn into_enum(self) -> ModelingCmd;
fn name() -> &'static str;
}
Expand description
Some modeling command executed on the KittyCAD engine.
Required Associated Types§
sourcetype Output: ModelingCmdOutput
type Output: ModelingCmdOutput
What the command responds with
Required Methods§
sourcefn into_enum(self) -> ModelingCmd
fn into_enum(self) -> ModelingCmd
Take this specific enum variant, and create the general enum.
Object Safety§
This trait is not object safe.