pub trait Transform {
// Required methods
fn apply(&self, p: (f64, f64)) -> (f64, f64);
fn apply_inverse(&self, p: (f64, f64)) -> (f64, f64);
fn inverse_exists(&self) -> bool;
}Required Methods§
fn apply(&self, p: (f64, f64)) -> (f64, f64)
fn apply_inverse(&self, p: (f64, f64)) -> (f64, f64)
fn inverse_exists(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".