pub trait TileFlips: AnyTile {
// Required methods
fn flip_x(&mut self);
fn flip_y(&mut self);
fn rotate_cw(&mut self);
fn rotate_ccw(&mut self);
}
Expand description
Generic tile flips and rotates for every tile type.
Required Methods§
sourcefn rotate_ccw(&mut self)
fn rotate_ccw(&mut self)
Rotates counterclockwise
Object Safety§
This trait is not object safe.