pub struct GridTemplateArea<CustomIdent: CheapCloneStr> {
pub name: CustomIdent,
pub row_start: u16,
pub row_end: u16,
pub column_start: u16,
pub column_end: u16,
}
Expand description
Defines a grid area
Fields§
§name: CustomIdent
The name of the grid area which
row_start: u16
The index of the row at which the grid area starts in grid coordinates.
row_end: u16
The index of the row at which the grid area ends in grid coordinates.
column_start: u16
The index of the column at which the grid area starts in grid coordinates.
column_end: u16
The index of the column at which the grid area end in grid coordinates.
Trait Implementations§
Source§impl<CustomIdent: Clone + CheapCloneStr> Clone for GridTemplateArea<CustomIdent>
impl<CustomIdent: Clone + CheapCloneStr> Clone for GridTemplateArea<CustomIdent>
Source§fn clone(&self) -> GridTemplateArea<CustomIdent>
fn clone(&self) -> GridTemplateArea<CustomIdent>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<CustomIdent: Debug + CheapCloneStr> Debug for GridTemplateArea<CustomIdent>
impl<CustomIdent: Debug + CheapCloneStr> Debug for GridTemplateArea<CustomIdent>
Source§impl<CustomIdent: PartialEq + CheapCloneStr> PartialEq for GridTemplateArea<CustomIdent>
impl<CustomIdent: PartialEq + CheapCloneStr> PartialEq for GridTemplateArea<CustomIdent>
Source§fn eq(&self, other: &GridTemplateArea<CustomIdent>) -> bool
fn eq(&self, other: &GridTemplateArea<CustomIdent>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<CustomIdent: CheapCloneStr> StructuralPartialEq for GridTemplateArea<CustomIdent>
Auto Trait Implementations§
impl<CustomIdent> Freeze for GridTemplateArea<CustomIdent>where
CustomIdent: Freeze,
impl<CustomIdent> RefUnwindSafe for GridTemplateArea<CustomIdent>where
CustomIdent: RefUnwindSafe,
impl<CustomIdent> Send for GridTemplateArea<CustomIdent>where
CustomIdent: Send,
impl<CustomIdent> Sync for GridTemplateArea<CustomIdent>where
CustomIdent: Sync,
impl<CustomIdent> Unpin for GridTemplateArea<CustomIdent>where
CustomIdent: Unpin,
impl<CustomIdent> UnwindSafe for GridTemplateArea<CustomIdent>where
CustomIdent: UnwindSafe,
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