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§
Sourcefn transform_to_2d<P>(&self) -> Pwhere
P: IsBuildable2D,
fn transform_to_2d<P>(&self) -> Pwhere
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", so this trait is not object safe.