Skip to main content

IsTransFormableTo2D

Trait IsTransFormableTo2D 

Source
pub trait IsTransFormableTo2D: Is3D {
    // Required method
    fn transform_to_2d<P>(&self) -> P
       where P: IsBuildable2D;
}
Expand description

IsTransFormableTo2D is a trait used for any type which can be transformed 2D space

Required Methods§

Source

fn transform_to_2d<P>(&self) -> P
where P: IsBuildable2D,

Should create representation of self within the 2D space

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§