pub trait Mirror<T> {
    // Required methods
    fn mirror_x(&self) -> Self;
    fn mirror_y(&self) -> Self;
}
Expand description

Mirror at the x or y axis.

Required Methods§

fn mirror_x(&self) -> Self

Mirror this shape at the x-axis.

fn mirror_y(&self) -> Self

Mirror this shape at the y-axis.

Implementors§

§

impl<S, T> Mirror<T> for Swhere T: Copy + Zero + Sub<T, Output = T>, S: MapPointwise<T>,