[][src]Trait valora::transforms::Translate

pub trait Translate {
    fn translate(self, translation: V2) -> Self;
}

A trait for spatially translatable types.

Required methods

fn translate(self, translation: V2) -> Self

Translate self by the given translation vector.

Loading content...

Implementors

impl Translate for Ellipse[src]

impl Translate for Ngon[src]

impl Translate for Polygon[src]

impl Translate for P2[src]

Loading content...