pub enum NodeConstraintKind {
Roll(RollConstraint),
Aim(AimConstraint),
Rotation(RotationConstraint),
}Expand description
The kind of constraint attached to a node.
Variants§
Roll(RollConstraint)
Copies one axial component of the source rotation.
Aim(AimConstraint)
Points a destination axis toward the source position.
Rotation(RotationConstraint)
Copies the source’s local rest-relative rotation.
Trait Implementations§
Source§impl Clone for NodeConstraintKind
impl Clone for NodeConstraintKind
Auto Trait Implementations§
impl Freeze for NodeConstraintKind
impl RefUnwindSafe for NodeConstraintKind
impl Send for NodeConstraintKind
impl Sync for NodeConstraintKind
impl Unpin for NodeConstraintKind
impl UnsafeUnpin for NodeConstraintKind
impl UnwindSafe for NodeConstraintKind
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