pub struct ResolveInputs<'a> {
pub repo_flag: Option<RepoBinding>,
pub session: &'a SessionState,
pub worktree_path: Option<&'a str>,
pub bound: Option<RepoBinding>,
pub user_default: Option<RepoBinding>,
}Expand description
Inputs for the effective-binding precedence chain. repo_flag and bound
are resolved by the caller (the --path override and the bound
config.toml, respectively); session/worktree_path come from the
per-session state.
Fields§
§repo_flag: Option<RepoBinding>§session: &'a SessionState§worktree_path: Option<&'a str>§bound: Option<RepoBinding>§user_default: Option<RepoBinding>Lowest-precedence, session-independent default (from repo switch --user
/ a no-session switch). Applies when nothing more specific resolves.
Auto Trait Implementations§
impl<'a> Forget for ResolveInputs<'a>
impl<'a> Freeze for ResolveInputs<'a>
impl<'a> Move for ResolveInputs<'a>
impl<'a> RefUnwindSafe for ResolveInputs<'a>
impl<'a> Send for ResolveInputs<'a>
impl<'a> Sync for ResolveInputs<'a>
impl<'a> Unpin for ResolveInputs<'a>
impl<'a> UnsafeUnpin for ResolveInputs<'a>
impl<'a> UnwindSafe for ResolveInputs<'a>
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