[][src]Trait theon::ops::Map

pub trait Map<T = Self::Item>: Composite {
    type Output: Composite<Item = T>;
    fn map<F>(self, f: F) -> Self::Output
    where
        F: FnMut(Self::Item) -> T
; }

Associated Types

type Output: Composite<Item = T>

Loading content...

Required methods

fn map<F>(self, f: F) -> Self::Output where
    F: FnMut(Self::Item) -> T, 

Loading content...

Implementations on Foreign Types

impl<T, U> Map<U> for (T, T)[src]

type Output = (U, U)

impl<T, U> Map<U> for (T, T, T)[src]

type Output = (U, U, U)

impl<T, U> Map<U> for Vector2<T>[src]

type Output = Vector2<U>

impl<T, U> Map<U> for Vector3<T>[src]

type Output = Vector3<U>

impl<T, U> Map<U> for Point2<T>[src]

type Output = Point2<U>

impl<T, U> Map<U> for Point3<T>[src]

type Output = Point3<U>

impl<T, U> Map<U> for Vector2<T>[src]

type Output = Vector2<U>

impl<T, U> Map<U> for Vector3<T>[src]

type Output = Vector3<U>

impl<T, U, R, C> Map<U> for MatrixMN<T, R, C> where
    T: Scalar,
    U: Scalar,
    R: DimName,
    C: DimName,
    DefaultAllocator: Allocator<T, R, C> + Allocator<U, R, C>, 
[src]

type Output = MatrixMN<U, R, C>

impl<T, U, D> Map<U> for Point<T, D> where
    T: Scalar,
    U: Scalar,
    D: DimName,
    DefaultAllocator: Allocator<T, D> + Allocator<U, D>, 
[src]

type Output = Point<U, D>

Loading content...

Implementors

Loading content...