pub struct LeanNode {
pub body: usize,
pub axis: usize,
pub com_drop: f64,
pub tool_drop: f64,
pub lever_axis: Option<usize>,
pub lateral: f64,
pub tilt: f64,
pub damping: f64,
pub belt_offset: f64,
}Expand description
A body leaning on its carriage along a horizontal axis (machine.lean).
Fields§
§body: usize§axis: usize§com_drop: f64§tool_drop: f64§lever_axis: Option<usize>§lateral: f64§tilt: f64§damping: f64§belt_offset: f64With effects.belt_run_offset: how far the belt’s runs that reach the body from above meet it to either side of
its line, m (belt_offset_m); 0 otherwise.
Trait Implementations§
impl Copy for LeanNode
impl StructuralPartialEq for LeanNode
Auto Trait Implementations§
impl Freeze for LeanNode
impl RefUnwindSafe for LeanNode
impl Send for LeanNode
impl Sync for LeanNode
impl Unpin for LeanNode
impl UnsafeUnpin for LeanNode
impl UnwindSafe for LeanNode
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