Struct ncollide3d::procedural::path::ArrowheadCap[][src]

pub struct ArrowheadCap<N> { /* fields omitted */ }

A cap that looks like an arrow.

Implementations

impl<N: RealField> ArrowheadCap<N>[src]

pub fn new(
    radius_scale: N,
    front_dist_to_head: N,
    back_dist_to_head: N
) -> ArrowheadCap<N>
[src]

Creates a cap that looks like an arrow.

Arguments:

  • radius_scale - scale factor of the cap base.
  • front_dist_to_head - distance from the path endpoint and the arrow tip.
  • back_dist_to_head - distance from the path endpoint and the cap base.

Trait Implementations

impl<N: RealField> PolylineCompatibleCap<N> for ArrowheadCap<N>[src]

Auto Trait Implementations

impl<N> RefUnwindSafe for ArrowheadCap<N> where
    N: RefUnwindSafe

impl<N> Send for ArrowheadCap<N> where
    N: Send

impl<N> Sync for ArrowheadCap<N> where
    N: Sync

impl<N> Unpin for ArrowheadCap<N> where
    N: Unpin

impl<N> UnwindSafe for ArrowheadCap<N> where
    N: UnwindSafe

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
[src]

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

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

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

impl<T> Pointable for T[src]

type Init = T

The type for initializers.

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

type Output = T

Should always be Self

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>, 
[src]