[][src]Struct broot::app::CmdContext

pub struct CmdContext<'c> {
    pub cmd: &'c Command,
    pub other_path: &'c Option<PathBuf>,
    pub panel_skin: &'c PanelSkin,
    pub con: &'c AppContext,
    pub areas: &'c Areas,
    pub preview: Option<PanelId>,
    pub panel_purpose: PanelPurpose,
}

short lived wrapping of a few things which are needed for the handling of a command in a panel and won't be modified during the operation.

Fields

cmd: &'c Commandother_path: &'c Option<PathBuf>panel_skin: &'c PanelSkincon: &'c AppContextareas: &'c Areaspreview: Option<PanelId>panel_purpose: PanelPurpose

Auto Trait Implementations

impl<'c> !RefUnwindSafe for CmdContext<'c>

impl<'c> Send for CmdContext<'c>

impl<'c> Sync for CmdContext<'c>

impl<'c> Unpin for CmdContext<'c>

impl<'c> !UnwindSafe for CmdContext<'c>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.