[][src]Struct rapier_testbed2d::objects::polyline::Polyline

pub struct Polyline { /* fields omitted */ }

Implementations

impl Polyline[src]

pub fn new(
    collider: ColliderHandle,
    vertices: Vec<Point<f32>>,
    indices: Vec<[u32; 2]>,
    color: Point3<f32>
) -> Polyline
[src]

pub fn select(&mut self)[src]

pub fn unselect(&mut self)[src]

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

pub fn update(&mut self, colliders: &ColliderSet)[src]

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

pub fn draw(&mut self, window: &mut Window)[src]

Auto Trait Implementations

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> From<T> for T[src]

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

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<SS, SP> SupersetOf<SS> for SP where
    SS: SubsetOf<SP>, 

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