Enum smithay_client_toolkit::shell::Shell
source · [−]Expand description
Possible supported shell protocols
Variants
Xdg(Attached<XdgWmBase>)
The current standard xdg_shell
protocol.
Zxdg(Attached<ZxdgShellV6>)
A previous iteration of the xdg_shell
protocol.
It has been replaced by the stable xdg_shell
, and is only present here for
compatibility purposes.
Wl(Attached<WlShell>)
The legacy wl_shell
.
It is deprecated and only present here for compatibility purposes.
Implementations
sourceimpl Shell
impl Shell
sourcepub fn needs_configure(&self) -> bool
pub fn needs_configure(&self) -> bool
Check if the shell in use needs you to wait for a configure
event
before you are allowed to draw.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Shell
impl !Send for Shell
impl !Sync for Shell
impl Unpin for Shell
impl !UnwindSafe for Shell
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more