Type Alias taffy::style::GridPlacement

source ·
pub type GridPlacement = GenericGridPlacement<GridLine>;
Expand description

A grid line placement specification. Used for grid-[row/column]-[start/end]. Named tracks are not implemented.

Defaults to GridPlacement::Auto

Specification

Aliased Type§

enum GridPlacement {}

Variants§

Trait Implementations§

source§

impl Default for GridPlacement

source§

fn default() -> Self

Returns the “default value” for a type. Read more
source§

impl TaffyAuto for GridPlacement

source§

const AUTO: Self = Self::Auto

The auto value for type implementing TaffyZero
source§

impl TaffyGridLine for GridPlacement

source§

fn from_line_index(index: i16) -> Self

Converts an i16 into Self
source§

impl TaffyGridSpan for GridPlacement

source§

fn from_span(span: u16) -> Self

Converts an iu6 into Self