pub struct LagrangianFunction {
pub name: String,
pub vars: Vec<String>,
pub n_dof: usize,
}Expand description
A Lagrangian function L(q_1, …, q_n, q̇_1, …, q̇_n, t).
Fields§
§name: StringName of the Lagrangian.
vars: Vec<String>List of generalized coordinate names.
n_dof: usizeNumber of degrees of freedom.
Implementations§
Trait Implementations§
Source§impl Clone for LagrangianFunction
impl Clone for LagrangianFunction
Source§fn clone(&self) -> LagrangianFunction
fn clone(&self) -> LagrangianFunction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for LagrangianFunction
impl RefUnwindSafe for LagrangianFunction
impl Send for LagrangianFunction
impl Sync for LagrangianFunction
impl Unpin for LagrangianFunction
impl UnsafeUnpin for LagrangianFunction
impl UnwindSafe for LagrangianFunction
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