pub struct GridItemPlacement {
pub child_index: usize,
pub col_start: usize,
pub col_end: usize,
pub row_start: usize,
pub row_end: usize,
}Expand description
Resolved grid item placement in the grid.
Fields§
§child_index: usizeIndex of the child node.
col_start: usizeColumn start (0-based).
col_end: usizeColumn end (exclusive, 0-based).
row_start: usizeRow start (0-based).
row_end: usizeRow end (exclusive, 0-based).
Trait Implementations§
Source§impl Clone for GridItemPlacement
impl Clone for GridItemPlacement
Source§fn clone(&self) -> GridItemPlacement
fn clone(&self) -> GridItemPlacement
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 moreAuto Trait Implementations§
impl Freeze for GridItemPlacement
impl RefUnwindSafe for GridItemPlacement
impl Send for GridItemPlacement
impl Sync for GridItemPlacement
impl Unpin for GridItemPlacement
impl UnsafeUnpin for GridItemPlacement
impl UnwindSafe for GridItemPlacement
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