pub type ContainIntrinsicSize = GenericContainIntrinsicSize<NonNegativeLength>;
Expand description
A computed value for the contain-intrinsic-size
property.
Aliased Type§
#[repr(C, u8)]pub enum ContainIntrinsicSize {
None,
AutoNone,
Length(NonNegative<CSSPixelLength>),
AutoLength(NonNegative<CSSPixelLength>),
}
Variants§
None
The keyword none
.
AutoNone
The keywords ‘auto none’,
Length(NonNegative<CSSPixelLength>)
A non-negative length.
AutoLength(NonNegative<CSSPixelLength>)
“auto
Implementations§
Source§impl ContainIntrinsicSize
impl ContainIntrinsicSize
Sourcepub fn add_auto_if_needed(&self) -> Option<Self>
pub fn add_auto_if_needed(&self) -> Option<Self>
Converts contain-intrinsic-size to auto style.