pub struct Layout {
pub origin_x: u16,
pub origin_y: u16,
pub rows: u16,
pub cols: u16,
}Expand description
Bounding box of the art block within the terminal/canvas.
Fields§
§origin_x: u16§origin_y: u16§rows: u16§cols: u16Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Layout
impl RefUnwindSafe for Layout
impl Send for Layout
impl Sync for Layout
impl Unpin for Layout
impl UnsafeUnpin for Layout
impl UnwindSafe for Layout
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more