[][src]Struct codenano::autoroll::RollSystem

pub struct RollSystem { /* fields omitted */ }

Structure that adjust the roll of helices

Implementations

impl RollSystem[src]

pub fn from_design<S, T>(design: &Design<S, T>) -> Self[src]

Create a system from a design, the system will adjust the helices of the design.

pub fn solve<S, T>(&mut self, design: &mut Design<S, T>, dt: f64)[src]

Adjuste the helices of the design, do not show intermediate steps

pub fn solve_one_step<S, T>(
    &mut self,
    design: &mut Design<S, T>,
    dt: f64
) -> f64
[src]

Do one step of simulation with time step dt

Auto Trait Implementations

Blanket Implementations

impl<S, D, Swp, Dwp, T> AdaptInto<D, Swp, Dwp, T> for S where
    D: AdaptFrom<S, Swp, Dwp, T>,
    Dwp: WhitePoint,
    Swp: WhitePoint,
    T: Component + Float
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.