Type Alias CalcAnchorFunction

Source
pub type CalcAnchorFunction = GenericCalcAnchorFunction<Leaf>;
Expand description

Specified anchor() function in math functions.

Aliased Type§

#[repr(C)]
pub struct CalcAnchorFunction { pub target_element: DashedIdent, pub side: GenericAnchorSide<Box<GenericCalcNode<Leaf>>>, pub fallback: Optional<Box<GenericCalcNode<Leaf>>>, }

Fields§

§target_element: DashedIdent

Anchor name of the element to anchor to. If omitted, selects the implicit anchor element.

§side: GenericAnchorSide<Box<GenericCalcNode<Leaf>>>

Where relative to the target anchor element to position the anchored element to.

§fallback: Optional<Box<GenericCalcNode<Leaf>>>

Value to use in case the anchor function is invalid.