pub enum HomeSource {
Flag,
EnvVar,
Default,
}Expand description
Where the resolved SURJECTION_HOME came from, highest precedence first.
Variants§
Flag
The --home command-line flag.
EnvVar
The SURJECTION_HOME environment variable.
Default
The per-OS default.
Implementations§
Trait Implementations§
Source§impl Clone for HomeSource
impl Clone for HomeSource
impl Copy for HomeSource
Source§impl Debug for HomeSource
impl Debug for HomeSource
impl Eq for HomeSource
Source§impl PartialEq for HomeSource
impl PartialEq for HomeSource
impl StructuralPartialEq for HomeSource
Auto Trait Implementations§
impl Forget for HomeSource
impl Freeze for HomeSource
impl Move for HomeSource
impl RefUnwindSafe for HomeSource
impl Send for HomeSource
impl Sync for HomeSource
impl Unpin for HomeSource
impl UnsafeUnpin for HomeSource
impl UnwindSafe for HomeSource
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.