[][src]Struct ncollide_procedural::path::PolylinePattern

pub struct PolylinePattern<N: Real, C1, C2> { /* fields omitted */ }

A pattern composed of polyline and two caps.

Methods

impl<N, C1, C2> PolylinePattern<N, C1, C2> where
    N: Real,
    C1: PolylineCompatibleCap<N>,
    C2: PolylineCompatibleCap<N>, 
[src]

pub fn new(
    pattern: &Polyline<Point2<N>>,
    closed: bool,
    start_cap: C1,
    end_cap: C2
) -> PolylinePattern<N, C1, C2>
[src]

Creates a new polyline pattern.

Trait Implementations

impl<N, C1, C2> StrokePattern<Point<N, U3>> for PolylinePattern<N, C1, C2> where
    N: Real,
    C1: PolylineCompatibleCap<N>,
    C2: PolylineCompatibleCap<N>, 
[src]

Auto Trait Implementations

impl<N, C1, C2> Send for PolylinePattern<N, C1, C2> where
    C1: Send,
    C2: Send,
    N: Scalar

impl<N, C1, C2> Sync for PolylinePattern<N, C1, C2> where
    C1: Sync,
    C2: Sync,
    N: Scalar

Blanket Implementations

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

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> Any for T where
    T: 'static + ?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

The type returned in the event of a conversion error.

impl<SS, SP> SupersetOf for SP where
    SS: SubsetOf<SP>, 
[src]

impl<T> Same for T

type Output = T

Should always be Self