pub trait HasOrientation {
// Required method
fn orientation(&self) -> Orientation2D;
}Expand description
Exposes the planar orientation of a primitive.
Required Methods§
Sourcefn orientation(&self) -> Orientation2D
fn orientation(&self) -> Orientation2D
Returns the primitive orientation.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".