pub struct Input {
pub state: PathBuf,
pub launch: Option<PathBuf>,
pub open: Option<RunId>,
pub force: bool,
pub rescan: bool,
pub changed: Changed,
}Expand description
What one read needs.
Fields§
§state: PathBuf§launch: Option<PathBuf>The folder the app was started for: its branch is listed even before its first Run.
open: Option<RunId>The Run the Main area shows, read in full.
force: boolRead the open Run again even when no hint named it.
rescan: boolAsk Git again which worktrees exist.
changed: ChangedWhat the change hints since the last read named.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Input
impl Freeze for Inputwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const LeafNode<RunId, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(RunId, SetValZST)>>: Freeze,
impl Move for Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnsafeUnpin for Inputwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const LeafNode<RunId, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(RunId, SetValZST)>>: UnsafeUnpin,
impl UnwindSafe for Input
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