[][src]Struct newton::collision::HeightFieldParams

pub struct HeightFieldParams<'a, T: Elevation> {
    pub width: usize,
    pub height: usize,
    pub vertical_elevation: &'a [T],
    pub vertical_scale: f32,
    pub horizontal_scale_x: f32,
    pub horizontal_scale_z: f32,
    pub horizontal_displacement_scale_x: f32,
    pub horizontal_displacement_scale_z: f32,
    pub horizontal_displacement: &'a [i16],
    pub attributes: &'a [i8],
}

Fields

width: usizeheight: usizevertical_elevation: &'a [T]vertical_scale: f32horizontal_scale_x: f32horizontal_scale_z: f32horizontal_displacement_scale_x: f32horizontal_displacement_scale_z: f32horizontal_displacement: &'a [i16]attributes: &'a [i8]

Trait Implementations

impl<'a, T: PartialEq + Elevation> PartialEq<HeightFieldParams<'a, T>> for HeightFieldParams<'a, T>[src]

impl<'a, T: Clone + Elevation> Clone for HeightFieldParams<'a, T>[src]

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

Performs copy-assignment from source. Read more

impl<'a, T: Copy + Elevation> Copy for HeightFieldParams<'a, T>[src]

impl<'a, T: Debug + Elevation> Debug for HeightFieldParams<'a, T>[src]

Auto Trait Implementations

impl<'a, T> Send for HeightFieldParams<'a, T> where
    T: Sync

impl<'a, T> Sync for HeightFieldParams<'a, T> where
    T: Sync

Blanket Implementations

impl<T> From for T[src]

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

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

type Owned = T

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]