smithay::wayland::compositor

Trait Blocker

Source
pub trait Blocker {
    // Required method
    fn state(&self) -> BlockerState;
}
Available on crate feature wayland_frontend only.
Expand description

Types potentially blocking state changes

Required Methods§

Source

fn state(&self) -> BlockerState

Retrieve the current state of the blocker

Trait Implementations§

Source§

impl Debug for Box<dyn Blocker + Send>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Implementors§

Source§

impl Blocker for DmabufBlocker

Source§

impl Blocker for DrmSyncPointBlocker

Available on crate feature backend_drm only.
Source§

impl Blocker for Barrier