pub trait PositionComponent {
// Required method
fn is_center(&self) -> bool;
}Expand description
Implements a method that checks if the position is centered.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".