pub fn is_anchor(window: &impl IsA<Window>, edge: Edge) -> bool
Expand description

window

A layer surface.

edge

the edge to which the surface may or may not be anchored

Returns

if this surface is anchored to the given edge.