Struct broot::app::CmdContext
source · pub struct CmdContext<'c> {
pub cmd: &'c Command,
pub app: &'c AppCmdContext<'c>,
pub panel: PanelCmdContext<'c>,
}
Expand description
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 Command
§app: &'c AppCmdContext<'c>
§panel: PanelCmdContext<'c>
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more