pub enum Shell {
    Xdg(Attached<XdgWmBase>),
    Zxdg(Attached<ZxdgShellV6>),
    Wl(Attached<WlShell>),
}
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

Check if the shell in use needs you to wait for a configure event before you are allowed to draw.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.