pub struct Item<T> {
pub width: Option<T>,
pub height: Option<T>,
pub row_span: u32,
pub column_span: u32,
}Expand description
spans and contributions to track sizing for a grid child final cells can be larger than the supplied width and height
Fields§
§width: Option<T>§height: Option<T>§row_span: u32§column_span: u32Implementations§
Source§impl<T> Item<T>where
T: Scalar,
impl<T> Item<T>where
T: Scalar,
Sourcepub fn row_span(self, value: u32) -> Item<T>
pub fn row_span(self, value: u32) -> Item<T>
sets Self::row_span
Sourcepub fn column_span(self, value: u32) -> Item<T>
pub fn column_span(self, value: u32) -> Item<T>
sets Self::column_span
Trait Implementations§
impl<T> Copy for Item<T>where
T: Copy,
impl<T> StructuralPartialEq for Item<T>where
T: PartialEq,
Auto Trait Implementations§
impl<T> Forget for Item<T>
impl<T> Freeze for Item<T>where
T: Freeze,
impl<T> Move for Item<T>
impl<T> RefUnwindSafe for Item<T>where
T: RefUnwindSafe,
impl<T> Send for Item<T>where
T: Send,
impl<T> Sync for Item<T>where
T: Sync,
impl<T> Unpin for Item<T>where
T: Unpin,
impl<T> UnsafeUnpin for Item<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Item<T>where
T: 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