Trait libreda_pnr::db::Mirror
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
fn mirror_x(&self) -> Self
Mirror this shape at the x-axis.
fn mirror_y(&self) -> Self
fn mirror_y(&self) -> Self
Mirror this shape at the y-axis.