pub enum GridLine {
Line(i32),
Auto,
Named(String),
}Expand description
Identifies the start line of a grid placement.
Variants§
Line(i32)
Explicit 1-based line number. Positive values start from the beginning of the grid; negative value support is reserved for future explicit track count resolution.
Auto
Let the auto-placement algorithm decide.
Named(String)
Place by named template area (resolved from GridTemplate::areas).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for GridLine
impl RefUnwindSafe for GridLine
impl Send for GridLine
impl Sync for GridLine
impl Unpin for GridLine
impl UnsafeUnpin for GridLine
impl UnwindSafe for GridLine
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