Type Alias style::values::specified::flex::FlexBasis

source ·
pub type FlexBasis = FlexBasis<Size>;
Expand description

A specified value for the flex-basis property.

Aliased Type§

enum FlexBasis {
    Content,
    Size(GenericSize<NonNegative<LengthPercentage>>),
}

Variants§

§

Content

content

§

Size(GenericSize<NonNegative<LengthPercentage>>)

<width>

Implementations§

source§

impl FlexBasis

source

pub fn auto() -> Self

auto

source

pub fn zero_percent() -> Self

0%