pub trait CoordinateConversions {
// Required methods
fn wpos_to_cpos(&self) -> Self;
fn cpos_to_wpos(&self) -> Self;
fn cpos_to_wpos_center(&self) -> Self;
}
Required Methods§
fn wpos_to_cpos(&self) -> Self
fn cpos_to_wpos(&self) -> Self
fn cpos_to_wpos_center(&self) -> Self
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.