pub type Inset = GenericInset<Percentage, LengthPercentage>;
Expand description
A computed type for inset
properties.
Aliased Type§
enum Inset {
LengthPercentage(LengthPercentage),
Auto,
AnchorFunction(Box<GenericAnchorFunction<Percentage, LengthPercentage>>),
AnchorSizeFunction(Box<GenericAnchorSizeFunction<LengthPercentage>>),
}
Variants§
LengthPercentage(LengthPercentage)
A <length-percentage>
value.
Auto
An auto
value.
AnchorFunction(Box<GenericAnchorFunction<Percentage, LengthPercentage>>)
Inset defined by the anchor element.
AnchorSizeFunction(Box<GenericAnchorSizeFunction<LengthPercentage>>)
Inset defined by the size of the anchor element.