[][src]Struct nphysics_testbed3d::objects::capsule::Capsule

pub struct Capsule { /* fields omitted */ }

Implementations

impl Capsule[src]

pub fn new<N: RealField>(
    collider: DefaultColliderHandle,
    colliders: &DefaultColliderSet<N>,
    delta: Isometry<f32>,
    r: f32,
    h: f32,
    color: Point3<f32>,
    window: &mut Window
) -> Capsule
[src]

pub fn select(&mut self)[src]

pub fn unselect(&mut self)[src]

pub fn update<N: RealField>(&mut self, colliders: &DefaultColliderSet<N>)[src]

pub fn set_color(&mut self, color: Point3<f32>)[src]

pub fn scene_node(&self) -> &GraphicsNode[src]

pub fn scene_node_mut(&mut self) -> &mut GraphicsNode[src]

pub fn object(&self) -> DefaultColliderHandle[src]

Auto Trait Implementations

impl !RefUnwindSafe for Capsule

impl !Send for Capsule

impl !Sync for Capsule

impl Unpin for Capsule

impl !UnwindSafe for Capsule

Blanket Implementations

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> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

impl<T> Erased for T

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SetParameter for T

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 
[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<V, T> VZip<V> for T where
    V: MultiLane<T>,