[][src]Struct newton::collision::MassSpringDamperSystem

pub struct MassSpringDamperSystem<'a> { /* fields omitted */ }

Methods

impl<'a> MassSpringDamperSystem<'a>[src]

pub unsafe fn from_raw(raw: *const NewtonCollision, owned: bool) -> Self[src]

pub fn create_instance(col: &Self) -> Self[src]

pub fn release(self)[src]

Forgets about this body. It will be freed along the world If you want to reference the object later, you should call into_handle instead.

Trait Implementations

impl<'a> NewtonCollision for MassSpringDamperSystem<'a>[src]

fn set_scale(&self, scale: Vec3)[src]

fn scale(&self) -> Vec3[src]

fn params(&self) -> Params[src]

fn for_each_polygon<F>(&self, matrix: Mat4, callback: F) where
    F: FnMut(&[f32], c_int), 
[src]

fn is_static(&self) -> bool[src]

fn is_convex(&self) -> bool[src]

fn into_raw(self) -> *const NewtonCollision where
    Self: Sized
[src]

fn matrix(&self) -> Mat4[src]

fn set_matrix(&self, matrix: Mat4)[src]

fn set_user_id(&self, id: u32)[src]

fn user_id(&self) -> u32[src]

impl<'a> FromHandle<'a> for MassSpringDamperSystem<'a>[src]

impl<'a> IntoHandle for MassSpringDamperSystem<'a>[src]

impl<'a> AsHandle for MassSpringDamperSystem<'a>[src]

impl<'a> PartialEq<MassSpringDamperSystem<'a>> for MassSpringDamperSystem<'a>[src]

impl<'a> From<MassSpringDamperSystem<'a>> for Collision<'a>[src]

impl<'a> Drop for MassSpringDamperSystem<'a>[src]

impl<'a> Eq for MassSpringDamperSystem<'a>[src]

impl<'a> Debug for MassSpringDamperSystem<'a>[src]

Auto Trait Implementations

impl<'a> !Send for MassSpringDamperSystem<'a>

impl<'a> !Sync for MassSpringDamperSystem<'a>

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

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

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

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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