pub struct GridArea {
pub row: usize,
pub col: usize,
pub rowspan: usize,
pub colspan: usize,
}Expand description
Definition of a named grid area.
Fields§
§row: usizeStarting row (0-indexed).
col: usizeStarting column (0-indexed).
rowspan: usizeNumber of rows this area spans.
colspan: usizeNumber of columns this area spans.
Implementations§
Trait Implementations§
impl Copy for GridArea
impl Eq for GridArea
impl StructuralPartialEq for GridArea
Auto Trait Implementations§
impl Freeze for GridArea
impl RefUnwindSafe for GridArea
impl Send for GridArea
impl Sync for GridArea
impl Unpin for GridArea
impl UnsafeUnpin for GridArea
impl UnwindSafe for GridArea
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