Trait Transform

Source
pub trait Transform {
    // Required methods
    fn transform<T>(self, t: &T) -> Self
       where T: Transformation;
    fn transform_mut<T>(&mut self, t: &T)
       where T: Transformation;
}
Expand description

A trait to transform geometric objects in 2-dimensional Euclidian space.

Required Methods§

Source

fn transform<T>(self, t: &T) -> Self
where T: Transformation,

Source

fn transform_mut<T>(&mut self, t: &T)
where T: Transformation,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§