pub fn layer(window: &impl IsA<Window>) -> Layer
Expand description

window

A layer surface.

Returns

the current layer.