[][src]Struct higher_order_point::Point

pub struct Point<T = ()> where
    f64: Ho<T>, 
{ pub x: <f64 as Ho<T>>::Fun, pub y: <f64 as Ho<T>>::Fun, pub z: <f64 as Ho<T>>::Fun, }

3D point.

Fields

x: <f64 as Ho<T>>::Fun

Function for x-coordinates.

y: <f64 as Ho<T>>::Fun

Function for y-coordinates.

z: <f64 as Ho<T>>::Fun

Function for z-coordinates.

Trait Implementations

impl Dot<Point<()>> for Point[src]

type Output = f64

The output type.

impl<T: 'static + Copy> Dot<Point<Arg<T>>> for PointFunc<T>[src]

type Output = Func<T, f64>

The output type.

impl Cross<Point<()>> for Point[src]

type Output = Point

The output type.

impl<T: 'static + Copy> Cross<Point<Arg<T>>> for PointFunc<T>[src]

type Output = Self

The output type.

impl Norm for Point[src]

type Output = f64

The output type.

impl<T: 'static + Copy> From<Point<Arg<(T, T)>>> for PointFunc<[T; 2]>[src]

impl From<Point<()>> for [f64; 3][src]

impl Into<Point<()>> for [f64; 3][src]

impl<T> Into<Point<Arg<T>>> for [f64; 3][src]

impl<T: Clone> Clone for Point<T> where
    f64: Ho<T>, 
[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialEq<Point<()>> for Point[src]

#[must_use] fn ne(&self, other: &Rhs) -> bool1.0.0[src]

This method tests for !=.

impl Copy for Point[src]

impl Debug for Point[src]

impl Add<f64> for Point[src]

type Output = Self

The resulting type after applying the + operator.

impl Add<Point<()>> for Point[src]

type Output = Self

The resulting type after applying the + operator.

impl<T: 'static + Copy> Add<Point<Arg<T>>> for PointFunc<T>[src]

type Output = Self

The resulting type after applying the + operator.

impl<T: 'static> Add<Point<Arg<T>>> for Point[src]

type Output = PointFunc<T>

The resulting type after applying the + operator.

impl Sub<f64> for Point[src]

type Output = Self

The resulting type after applying the - operator.

impl Sub<Point<()>> for Point[src]

type Output = Self

The resulting type after applying the - operator.

impl<T: 'static + Copy> Sub<Point<Arg<T>>> for PointFunc<T>[src]

type Output = Self

The resulting type after applying the - operator.

impl<T: 'static> Sub<Point<Arg<T>>> for Point[src]

type Output = PointFunc<T>

The resulting type after applying the - operator.

impl Mul<f64> for Point[src]

type Output = Self

The resulting type after applying the * operator.

impl<T: 'static> Mul<Arc<dyn Fn(T) + 'static + Sync + Send>> for Point[src]

type Output = PointFunc<T>

The resulting type after applying the * operator.

impl<T: 'static> Mul<Point<Arg<T>>> for Point[src]

type Output = PointFunc<T>

The resulting type after applying the * operator.

impl<T: 'static + Copy> Mul<Point<Arg<T>>> for PointFunc<T>[src]

type Output = Self

The resulting type after applying the * operator.

impl<T: Clone> Ho<Arg<T>> for Point[src]

type Fun = PointFunc<T>

The function type.

impl<T: Copy> Call<T> for Point where
    f64: Ho<Arg<T>> + Call<T>, 
[src]

Auto Trait Implementations

impl<T = ()> !Unpin for Point<T>

impl<T = ()> !Send for Point<T>

impl<T = ()> !Sync for Point<T>

impl<T = ()> !RefUnwindSafe for Point<T>

impl<T = ()> !UnwindSafe for Point<T>

Blanket Implementations

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Ho<()> for T where
    T: Clone

type Fun = T

The function type.

impl<T, U> Call<T> for U where
    U: Ho<Arg<T>, Fun = Arc<dyn Fn(T) + 'static + Sync + Send>>,