pub type Rect = Rect<u16>;Expand description
Rectangle in the grid.
§Examples
use retroglyph_core::grid::Rect;
let rect = Rect::new(0, 0, 10, 4);
assert_eq!(rect.width(), 10);
assert_eq!(rect.height(), 4);This crate’s serde feature forwards to [ixy]’s own serde feature, so Rect gains
Serialize/Deserialize from its upstream definition rather than one defined here.
Aliased Type§
pub struct Rect { /* private fields */ }