pub struct Rope {
pub length: f64,
pub u: V3,
pub rate: f64,
pub stretch: f64,
pub tension: f64,
pub drum: f64,
pub damper: f64,
}Expand description
The rope at one moment.
Fields§
§length: f64Its length L from the sheave to the load, and the unit vector u along it.
u: V3§rate: f64L’ and the stretch e = L - l.
stretch: f64§tension: f64The tension on its ends (on the load and the trolley), its pull on the drum (dV/dl plus the damper), and the damper’s share of both.
drum: f64§damper: f64Trait Implementations§
Auto Trait Implementations§
impl Freeze for Rope
impl RefUnwindSafe for Rope
impl Send for Rope
impl Sync for Rope
impl Unpin for Rope
impl UnsafeUnpin for Rope
impl UnwindSafe for Rope
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