[][src]Trait smithay_client_toolkit::shell::ShellHandling

pub trait ShellHandling {
    fn get_shell(&self) -> Option<Shell>;
}

A helper trait for delegating shell handling

If you don't use declare_default_environment! but still want to use the shell helpers provided here, you need to implement this trait for your declare_environment!-generated type, by delegating it to one of the handlers you provided for the different shells.

Required methods

fn get_shell(&self) -> Option<Shell>

Get the best available shell

Loading content...

Implementors

impl ShellHandling for ShellHandler[src]

Loading content...