pub struct DetailedGridItemsInfo {
pub row_start: u16,
pub row_end: u16,
pub column_start: u16,
pub column_end: u16,
}
Expand description
Grid area information from the placement algorithm
The values is 1-indexed grid line numbers bounding the area. This matches the Chrome and Firefox’s format as of 2nd Jan 2024.
Fields§
§row_start: u16
row-start with 1-indexed grid line numbers
row_end: u16
row-end with 1-indexed grid line numbers
column_start: u16
column-start with 1-indexed grid line numbers
column_end: u16
column-end with 1-indexed grid line numbers
Implementations§
Source§impl DetailedGridItemsInfo
Grid area information from the placement algorithm
impl DetailedGridItemsInfo
Grid area information from the placement algorithm
Sourcefn from_grid_item(grid_item: &GridItem) -> Self
fn from_grid_item(grid_item: &GridItem) -> Self
Construct from GridItems
Trait Implementations§
Source§impl Clone for DetailedGridItemsInfo
impl Clone for DetailedGridItemsInfo
Source§fn clone(&self) -> DetailedGridItemsInfo
fn clone(&self) -> DetailedGridItemsInfo
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 Debug for DetailedGridItemsInfo
impl Debug for DetailedGridItemsInfo
Source§impl PartialEq for DetailedGridItemsInfo
impl PartialEq for DetailedGridItemsInfo
impl StructuralPartialEq for DetailedGridItemsInfo
Auto Trait Implementations§
impl Freeze for DetailedGridItemsInfo
impl RefUnwindSafe for DetailedGridItemsInfo
impl Send for DetailedGridItemsInfo
impl Sync for DetailedGridItemsInfo
impl Unpin for DetailedGridItemsInfo
impl UnwindSafe for DetailedGridItemsInfo
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