pub enum GridPlace {
Auto,
Line(i16),
Span(u16),
}Expand description
One endpoint of a grid-column / grid-row placement.
Variants§
Auto
Auto-placed by the grid algorithm.
Line(i16)
A specific grid line (1-based; negative counts back from the end).
Span(u16)
Span this many tracks from the other endpoint.
Trait Implementations§
impl Copy for GridPlace
impl StructuralPartialEq for GridPlace
Auto Trait Implementations§
impl Freeze for GridPlace
impl RefUnwindSafe for GridPlace
impl Send for GridPlace
impl Sync for GridPlace
impl Unpin for GridPlace
impl UnsafeUnpin for GridPlace
impl UnwindSafe for GridPlace
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