[][src]Struct flo_curves::bezier::Tangent

pub struct Tangent<Curve: BezierCurve> { /* fields omitted */ }

A structure that can be used to compute the tangent of a bezier curve

Methods

impl<Curve: BezierCurve> Tangent<Curve>[src]

pub fn tangent(&self, t: f64) -> Curve::Point[src]

Calculates the tangent at a particular point

Trait Implementations

impl<'a, Curve: BezierCurve> From<&'a Curve> for Tangent<Curve>[src]

fn from(curve: &'a Curve) -> Tangent<Curve>[src]

Creates a structure that can computes the tangents for a bezier curve

Auto Trait Implementations

impl<Curve> RefUnwindSafe for Tangent<Curve> where
    <Curve as Geo>::Point: RefUnwindSafe

impl<Curve> Send for Tangent<Curve> where
    <Curve as Geo>::Point: Send

impl<Curve> Sync for Tangent<Curve> where
    <Curve as Geo>::Point: Sync

impl<Curve> Unpin for Tangent<Curve> where
    <Curve as Geo>::Point: Unpin

impl<Curve> UnwindSafe for Tangent<Curve> where
    <Curve as Geo>::Point: 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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.