pub fn anchor_placement(
anchor: &AnchoredRect,
area: Rect,
) -> Option<RatatuiAnchor>Expand description
Translates an anchor and its accumulated visible intersection into area.
Returns None when no part of the anchor survived core layout clipping or
when its translated coordinates are not representable by Ratatui. The
caller still owns the buffer and decides how to draw the foreign content.