Type Alias GenericCalcAnchorSizeFunction

Source
pub type GenericCalcAnchorSizeFunction<L> = GenericAnchorSizeFunction<Box<GenericCalcNode<L>>>;
Expand description

anchor-size() function used in math functions.

Aliased Type§

#[repr(C)]
pub struct GenericCalcAnchorSizeFunction<L> { pub target_element: DashedIdent, pub size: AnchorSizeKeyword, pub fallback: Optional<Box<GenericCalcNode<L>>>, }

Fields§

§target_element: DashedIdent

Anchor name of the element to anchor to. If omitted (i.e. empty), selects the implicit anchor element.

§size: AnchorSizeKeyword

Size 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<L>>>

Value to use in case the anchor function is invalid.