[][src]Enum nphysics_testbed2d::objects::node::Node

pub enum Node {
    Plane(Plane),
    Ball(Ball),
    Box(Box),
    HeightField(HeightField),
    Capsule(Capsule),
    Polyline(Polyline),
    Convex(Convex),
}

Variants

Plane(Plane)
Ball(Ball)
Box(Box)
HeightField(HeightField)
Capsule(Capsule)
Polyline(Polyline)
Convex(Convex)

Implementations

impl Node[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 draw(&mut self, _window: &mut Window)[src]

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

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

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

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

Auto Trait Implementations

impl !RefUnwindSafe for Node

impl !Send for Node

impl !Sync for Node

impl Unpin for Node

impl !UnwindSafe for Node

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>,