Function lay_rs::prelude::taffy::style_helpers::line

pub fn line<T>(index: i16) -> T
where T: TaffyGridLine,
Expand description

Specifies a grid line to place a grid item between in CSS Grid Line coordinates:

  • Positive indices count upwards from the start (top or left) of the explicit grid
  • Negative indices count downwards from the end (bottom or right) of the explicit grid
  • ZERO IS INVALID index, and will be treated as a GridPlacement::Auto.