pub struct GridItem {
pub placement: GridPlacement,
pub min_content_size: Size,
pub max_content_size: Size,
}Expand description
A grid item with a placement and intrinsic content-size hints.
Fields§
§placement: GridPlacementWhere to place this item in the grid.
min_content_size: SizeThe smallest size that avoids overflow (min-content).
max_content_size: SizeThe largest intrinsic size (max-content).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GridItem
impl RefUnwindSafe for GridItem
impl Send for GridItem
impl Sync for GridItem
impl Unpin for GridItem
impl UnsafeUnpin for GridItem
impl UnwindSafe for GridItem
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