pub trait PositionComponent {
// Required method
fn is_center(&self) -> bool;
}Expand description
Implements a method that checks if the position is centered.
pub trait PositionComponent {
// Required method
fn is_center(&self) -> bool;
}Implements a method that checks if the position is centered.