pub type CalcAnchorSizeFunction = GenericCalcAnchorSizeFunction<Leaf>;Expand description
Specified anchor-size() function in math functions.
Aliased Type§
#[repr(C)]pub struct CalcAnchorSizeFunction {
pub target_element: DashedIdent,
pub size: AnchorSizeKeyword,
pub fallback: Optional<Box<GenericCalcNode<Leaf>>>,
}Fields§
§target_element: DashedIdentAnchor name of the element to anchor to. If omitted (i.e. empty), selects the implicit anchor element.
size: AnchorSizeKeywordSize of the positioned element, expressed in that of the anchor element. If omitted, defaults to the axis of the property the function is used in.
fallback: Optional<Box<GenericCalcNode<Leaf>>>Value to use in case the anchor function is invalid.