pub struct SectionForce {
pub tension: f64,
pub material: f64,
}Fields§
§tension: f64Pulls on whatever the section’s ends are attached to.
material: f64Force on the belt material fed into the section, -dV/d(mat) plus damping. It exceeds the tension by the factor (1 + strain/2), because stretched belt carries its strain energy along. Using it at the pulleys makes the model conserve energy exactly.
Trait Implementations§
Source§impl Clone for SectionForce
impl Clone for SectionForce
Source§fn clone(&self) -> SectionForce
fn clone(&self) -> SectionForce
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SectionForce
Source§impl Debug for SectionForce
impl Debug for SectionForce
Source§impl Default for SectionForce
impl Default for SectionForce
Source§fn default() -> SectionForce
fn default() -> SectionForce
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SectionForce
impl RefUnwindSafe for SectionForce
impl Send for SectionForce
impl Sync for SectionForce
impl Unpin for SectionForce
impl UnsafeUnpin for SectionForce
impl UnwindSafe for SectionForce
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