Type Definition style::values::computed::length::MaxSize

source ·
pub type MaxSize = GenericMaxSize<NonNegativeLengthPercentage>;
Expand description

A computed value for max-width or min-height property.

Implementations§

source§

impl MaxSize

source

pub fn to_used_value(&self, percentage_basis: Au) -> Option<Au>

Convert the computed value into used value.