#[repr(C, u8)]pub enum GridLine {
Auto,
Line(i32),
Named(NamedGridLine),
Span(i32),
}Expand description
Represents a grid line position (start or end)
Variants§
Auto
auto
Line(i32)
Line number (1-based, negative for counting from end)
Named(NamedGridLine)
Named line with optional span count
Span(i32)
span N
Trait Implementations§
Source§impl Ord for GridLine
impl Ord for GridLine
Source§impl PartialOrd for GridLine
impl PartialOrd for GridLine
Source§impl PrintAsCssValue for GridLine
impl PrintAsCssValue for GridLine
fn print_as_css_value(&self) -> String
impl Eq for GridLine
impl StructuralPartialEq for GridLine
Auto Trait Implementations§
impl Freeze for GridLine
impl RefUnwindSafe for GridLine
impl Send for GridLine
impl Sync for GridLine
impl Unpin 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