pub fn is_anchor(window: &impl IsA<Window>, edge: Edge) -> bool
window
A layer surface.
edge
the edge to which the surface may or may not be anchored
if this surface is anchored to the given edge.