[−]Trait piston_window::Rectangled
Should be implemented by contexts that have rectangle information.
Required methods
fn margin(self, m: f64) -> Self
Shrinks the current rectangle equally by all sides.
fn rel(self, x: f64, y: f64) -> Self
Moves to a relative rectangle using the current rectangle as tile.