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 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.