pub trait Position {
// Required method
fn position(&self) -> Point2D<f32, UnknownUnit>;
}
Expand description
Interface for types types (typically endpoints and control points) that have a 2D position.
pub trait Position {
// Required method
fn position(&self) -> Point2D<f32, UnknownUnit>;
}
Interface for types types (typically endpoints and control points) that have a 2D position.