pub enum Scope {
Default,
Local,
Global,
System,
CommandLine,
Other,
}Expand description
Where a key’s value came from, for the commands whose job is reading configuration back.
This costs a second git call per key and must never be used on the commit
path — amont list and amont setup are the only callers, and they
are already asking git several questions to render one screen.
Variants§
Implementations§
Trait Implementations§
impl Copy for Scope
impl Eq for Scope
impl StructuralPartialEq for Scope
Auto Trait Implementations§
impl Freeze for Scope
impl RefUnwindSafe for Scope
impl Send for Scope
impl Sync for Scope
impl Unpin for Scope
impl UnsafeUnpin for Scope
impl UnwindSafe for Scope
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