pub trait ModelingCmdVariant<'de> {
    type Output: ModelingCmdOutput<'de>;

    // Required method
    fn into_enum(self) -> ModelingCmd;
}
Expand description

Some modeling command executed on the KittyCAD engine.

Required Associated Types§

source

type Output: ModelingCmdOutput<'de>

What the command responds with

Required Methods§

source

fn into_enum(self) -> ModelingCmd

Take this specific enum variant, and create the general enum.

Implementors§

source§

impl<'de> ModelingCmdVariant<'de> for CameraDragEnd

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for CameraDragMove

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for CameraDragStart

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for CenterOfMass

source§

impl<'de> ModelingCmdVariant<'de> for ClosePath

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for CurveGetControlPoints

source§

impl<'de> ModelingCmdVariant<'de> for CurveGetEndPoints

source§

impl<'de> ModelingCmdVariant<'de> for CurveGetType

source§

impl<'de> ModelingCmdVariant<'de> for CurveSetConstraint

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for DefaultCameraDisableSketchMode

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for DefaultCameraEnableSketchMode

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for DefaultCameraFocusOn

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for DefaultCameraLookAt

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for DefaultCameraZoom

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for Density

source§

impl<'de> ModelingCmdVariant<'de> for EditModeEnter

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for EnableSketchMode

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for EntityFade

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for EntityGetAllChildUuids

source§

impl<'de> ModelingCmdVariant<'de> for EntityGetChildUuid

source§

impl<'de> ModelingCmdVariant<'de> for EntityGetDistance

source§

impl<'de> ModelingCmdVariant<'de> for EntityGetNumChildren

source§

impl<'de> ModelingCmdVariant<'de> for EntityGetParentId

source§

impl<'de> ModelingCmdVariant<'de> for EntitySetOpacity

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for Export

source§

impl<'de> ModelingCmdVariant<'de> for ExtendPath

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for Extrude

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for GetEntityType

source§

impl<'de> ModelingCmdVariant<'de> for GetSketchModePlane

source§

impl<'de> ModelingCmdVariant<'de> for HandleMouseDragEnd

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for HandleMouseDragMove

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for HandleMouseDragStart

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for HighlightSetEntities

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for HighlightSetEntity

source§

impl<'de> ModelingCmdVariant<'de> for ImportFiles

source§

impl<'de> ModelingCmdVariant<'de> for MakeAxesGizmo

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for MakePlane

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for Mass

§

type Output = Mass

source§

impl<'de> ModelingCmdVariant<'de> for MouseClick

source§

impl<'de> ModelingCmdVariant<'de> for MouseMove

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for MovePathPen

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for NewAnnotation

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for ObjectBringToFront

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for ObjectSetMaterialParamsPBR

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for ObjectVisible

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for PathGetCurveUuidsForVertices

source§

impl<'de> ModelingCmdVariant<'de> for PathGetInfo

source§

impl<'de> ModelingCmdVariant<'de> for PathGetVertexUuids

source§

impl<'de> ModelingCmdVariant<'de> for PlaneIntersectAndProject

source§

impl<'de> ModelingCmdVariant<'de> for PlaneSetColor

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for ReconfigureStream

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for RemoveSceneObjects

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for SelectAdd

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for SelectRemove

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for SelectReplace

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for SelectWithPoint

source§

impl<'de> ModelingCmdVariant<'de> for SendObject

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for SetTool

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for SketchModeDisable

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for SketchModeEnable

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for Solid2dAddHole

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for Solid3dGetAllEdgeFaces

source§

impl<'de> ModelingCmdVariant<'de> for Solid3dGetAllOppositeEdges

source§

impl<'de> ModelingCmdVariant<'de> for Solid3dGetNextAdjacentEdge

source§

impl<'de> ModelingCmdVariant<'de> for Solid3dGetOppositeEdge

source§

impl<'de> ModelingCmdVariant<'de> for Solid3dGetPrevAdjacentEdge

source§

impl<'de> ModelingCmdVariant<'de> for SurfaceArea

source§

impl<'de> ModelingCmdVariant<'de> for TakeSnapshot

source§

impl<'de> ModelingCmdVariant<'de> for UpdateAnnotation

§

type Output = ()

source§

impl<'de> ModelingCmdVariant<'de> for Volume