pub struct DoublePendulum { /* private fields */ }Implementations§
Source§impl DoublePendulum
impl DoublePendulum
pub fn get_joint(&self) -> Point
pub fn get_end(&self) -> Point
pub fn new_pos(&mut self)
pub fn new( m1: f64, m2: f64, a1: f64, a2: f64, l1: f64, l2: f64, damp_factor: f64, ) -> Self
pub fn m1(&self) -> f64
pub fn m2(&self) -> f64
pub fn l1(&self) -> f64
pub fn l2(&self) -> f64
Trait Implementations§
Source§impl Clone for DoublePendulum
impl Clone for DoublePendulum
Source§fn clone(&self) -> DoublePendulum
fn clone(&self) -> DoublePendulum
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 moreSource§impl Debug for DoublePendulum
impl Debug for DoublePendulum
Source§impl PartialEq for DoublePendulum
impl PartialEq for DoublePendulum
impl Copy for DoublePendulum
impl StructuralPartialEq for DoublePendulum
Auto Trait Implementations§
impl Freeze for DoublePendulum
impl RefUnwindSafe for DoublePendulum
impl Send for DoublePendulum
impl Sync for DoublePendulum
impl Unpin for DoublePendulum
impl UnwindSafe for DoublePendulum
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