Function smithay::wayland::compositor::with_states [−][src]
pub fn with_states<F, T>(surface: &WlSurface, f: F) -> Result<T, DeadResource> where
F: FnOnce(&SurfaceData) -> T,
Expand description
Access the states associated to this surface