pub struct State<'s> {
pub cmd: &'s NixCommand,
pub multi_progress: Rc<MultiProgress>,
pub handlers: Vec<Box<dyn Handler + 's>>,
pub term_size: u16,
pub handlers_len: usize,
/* private fields */
}Fields§
§cmd: &'s NixCommand§multi_progress: Rc<MultiProgress>§handlers: Vec<Box<dyn Handler + 's>>§term_size: u16§handlers_len: usizeKeep track of the handler could while applying them. Usefull for debugging.
Implementations§
Auto Trait Implementations§
impl<'s> Freeze for State<'s>
impl<'s> !RefUnwindSafe for State<'s>
impl<'s> !Send for State<'s>
impl<'s> !Sync for State<'s>
impl<'s> Unpin for State<'s>
impl<'s> !UnwindSafe for State<'s>
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