pub enum Mobility {
Fixed,
Held,
Follows,
}Expand description
What a solve may do with a value.
Variants§
Fixed
Nothing: it stays exactly as it is.
Held
Move it as far as the constraints need, and no further: it is held
where it was, by DAMPING.
Follows
Move it as the constraints have it, and hold it nowhere: it follows the others — a joint’s coordinate, measured from its parts. Held as well, it would pull against them.
Implementations§
Trait Implementations§
impl Copy for Mobility
impl Eq for Mobility
impl StructuralPartialEq for Mobility
Auto Trait Implementations§
impl Freeze for Mobility
impl RefUnwindSafe for Mobility
impl Send for Mobility
impl Sync for Mobility
impl Unpin for Mobility
impl UnsafeUnpin for Mobility
impl UnwindSafe for Mobility
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