[][src]Trait plexus::AsPosition

pub trait AsPosition {
    type Position: EuclideanSpace;
    fn as_position(&self) -> &Self::Position;
fn as_position_mut(&mut self) -> &mut Self::Position; fn transform<F>(&mut self, f: F)
    where
        F: FnMut(&Self::Position) -> Self::Position
, { ... }
fn map<F>(self, f: F) -> Self
    where
        F: FnMut(&Self::Position) -> Self::Position
, { ... } }

Associated Types

type Position: EuclideanSpace

Loading content...

Required methods

fn as_position(&self) -> &Self::Position

fn as_position_mut(&mut self) -> &mut Self::Position

Loading content...

Provided methods

fn transform<F>(&mut self, f: F) where
    F: FnMut(&Self::Position) -> Self::Position

fn map<F>(self, f: F) -> Self where
    F: FnMut(&Self::Position) -> Self::Position

Loading content...

Implementors

impl<S> AsPosition for S where
    S: EuclideanSpace
[src]

type Position = S

Loading content...