Trait BoxedMirror

Source
pub trait BoxedMirror {
    // Required method
    fn boxed_mirrored(
        &self,
        mirror_matrix: &Matrix3<f32>,
    ) -> Box<dyn GeometryInterface + Sync + Send>;
}
Expand description

A trait to mirror items inside of a Box<T>.

Required Methods§

Source

fn boxed_mirrored( &self, mirror_matrix: &Matrix3<f32>, ) -> Box<dyn GeometryInterface + Sync + Send>

Performs a Mirror::mirrored on a Boxed Implementor.

Implementors§

Source§

impl<Geometry> BoxedMirror for Geometry
where Geometry: GeometryInterface + Mirror + Sync + Send,