Function taffy::style_helpers::line

source ยท
pub fn line<T: TaffyGridLine>(index: i16) -> T
Expand description

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

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