[][src]Struct linear_sim::object::Dynamic

pub struct Dynamic {
    pub position: Position,
    pub mass: Mass,
    pub derivatives: Derivatives,
    pub bound: Bound,
    pub material: Material,
}

A free, bounded, massive object

Fields

position: Positionmass: Massderivatives: Derivativesbound: Boundmaterial: Material

Trait Implementations

impl Object for Dynamic[src]

impl Bounded for Dynamic[src]

fn hit_test(&self, line_segment: &Simplex1<f64>) -> Option<Point3<f64>>[src]

NOTE: tangent 'intersections' are ignored

impl Temporal for Dynamic[src]

impl Inertial for Dynamic[src]

fn momentum(&self) -> Vector3<f64>[src]

fn compute_acceleration(&self) -> Vector3<f64>[src]

Computes acceleration from the current force vector and mass value

fn compute_acceleration_inplace(&mut self)[src]

Computes acceleration from the current force vector and mass value, replacing the current acceleration value Read more

impl Solid for Dynamic[src]

impl PartialEq<Dynamic> for Dynamic[src]

impl From<Dynamic> for Variant[src]

Convert into Dynamic variant.

impl Clone for Dynamic[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for Dynamic[src]

impl BorrowMut<Derivatives> for Dynamic[src]

impl Borrow<Derivatives> for Dynamic[src]

impl Shape<f64> for Dynamic[src]

impl Aabb<f64> for Dynamic[src]

impl Stereometric<f64> for Dynamic[src]

Auto Trait Implementations

impl Send for Dynamic

impl Sync for Dynamic

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self