Struct broot::app::DisplayContext
source · pub struct DisplayContext<'c> {
pub count: usize,
pub active: bool,
pub screen: Screen,
pub state_area: Area,
pub panel_skin: &'c PanelSkin,
pub app_state: &'c AppState,
pub con: &'c AppContext,
}
Expand description
short lived wrapping of a few things which are needed for displaying panels
Fields§
§count: usize
§active: bool
§screen: Screen
§state_area: Area
§panel_skin: &'c PanelSkin
§app_state: &'c AppState
§con: &'c AppContext
Auto Trait Implementations§
impl<'c> !RefUnwindSafe for DisplayContext<'c>
impl<'c> Send for DisplayContext<'c>
impl<'c> Sync for DisplayContext<'c>
impl<'c> Unpin for DisplayContext<'c>
impl<'c> !UnwindSafe for DisplayContext<'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