pub enum Pull {
Point {
parameter: String,
local: Vector3,
target: Vector3,
},
Pose {
parameter: String,
target: Pose,
},
Value {
parameter: String,
value: Scalar,
},
}Expand description
What a step asks of the state while it is edited, for the editor to solve the program with: an operation never sets the state itself, it says where it wants it pulled, and the constraints have the last word.
Variants§
Point
The point local of a placed part — in its own frame — pulled
towards the point target: a drag. The part is named by the state
its pose is.
Pose
A placed part pulled to the pose target as a whole: placed where
it was typed in, turned by a gizmo.
Value
The number the state parameter is, set to value and held there:
a joint’s coordinate typed in, which the parts move to.
Trait Implementations§
impl StructuralPartialEq for Pull
Auto Trait Implementations§
impl Freeze for Pull
impl RefUnwindSafe for Pull
impl Send for Pull
impl Sync for Pull
impl Unpin for Pull
impl UnsafeUnpin for Pull
impl UnwindSafe for Pull
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