[][src]Trait arcs::algorithms::Translate

pub trait Translate<Space> {
    fn translate(&mut self, displacement: Vector2D<f64, Space>);

    fn translated(&self, displacement: Vector2D<f64, Space>) -> Self
    where
        Self: Clone
, { ... } }

Something which can be moved around "rigidly" in Drawing Space.

Required methods

fn translate(&mut self, displacement: Vector2D<f64, Space>)

Translate this object in-place.

Loading content...

Provided methods

fn translated(&self, displacement: Vector2D<f64, Space>) -> Self where
    Self: Clone

A convenience method for getting a translated copy of this object.

Loading content...

Implementors

impl Translate<DrawingSpace> for Geometry[src]

impl Translate<DrawingSpace> for DrawingObject[src]

impl Translate<DrawingSpace> for Viewport[src]

impl<Space> Translate<Space> for Arc<Space>[src]

impl<Space> Translate<Space> for BoundingBox<Space>[src]

impl<Space, A> Translate<Space> for A where
    A: AffineTransformable
[src]

Loading content...