pub type NonNegativeLengthPercentage = NonNegative<LengthPercentage>;Expand description
A wrapper of LengthPercentage, whose value must be >= 0.
Aliased Type§
#[repr(transparent)]pub struct NonNegativeLengthPercentage(pub LengthPercentage);Tuple Fields§
§0: LengthPercentageImplementations§
Source§impl NonNegativeLengthPercentage
impl NonNegativeLengthPercentage
Sourcepub fn to_used_value(&self, containing_length: Au) -> Au
pub fn to_used_value(&self, containing_length: Au) -> Au
Returns the used value.