Skip to main content

IsTransFormableTo3D

Trait IsTransFormableTo3D 

Source
pub trait IsTransFormableTo3D: Is2D {
    // Required method
    fn transform_to_3d<P>(&self, z: f64) -> P
       where P: IsBuildable3D;
}
Expand description

IsTransFormableTo3D is a trait used for any type which can be transformed 3D space

Required Methods§

Source

fn transform_to_3d<P>(&self, z: f64) -> P
where P: IsBuildable3D,

Should create representation of self within the 3D space with a given z-coordinate

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§