pub fn subsurface_iter<S: Shell>(
    root: S::Token,
    s: &S
) -> impl DoubleEndedIterator<Item = (S::Token, Point<i32, Surface>)> + '_
Expand description

Double ended iterator for iterating over a surface and its subsurfaces in the order they are stacked.

The forward order is from bottom to top. This iterates over the committed states of the surfaces, as defined by wl_surface.commit.