pub type GenericCalcAnchorFunction<L> = GenericAnchorFunction<Box<GenericCalcNode<L>>, Box<GenericCalcNode<L>>>;
Expand description
anchor()
function used in math functions.
Aliased Type§
#[repr(C)]pub struct GenericCalcAnchorFunction<L> {
pub target_element: DashedIdent,
pub side: GenericAnchorSide<Box<GenericCalcNode<L>>>,
pub fallback: Optional<Box<GenericCalcNode<L>>>,
}
Fields§
§target_element: DashedIdent
Anchor name of the element to anchor to. If omitted, selects the implicit anchor element.
side: GenericAnchorSide<Box<GenericCalcNode<L>>>
Where relative to the target anchor element to position the anchored element to.
fallback: Optional<Box<GenericCalcNode<L>>>
Value to use in case the anchor function is invalid.