pub enum Layer {
Embedded,
UserGlobal,
ProjectLocal,
HarnessFile,
}Expand description
The layer a descriptor source belongs to, in precedence order (later layers override earlier ones field-by-field).
Variants§
Embedded
A built-in descriptor bundled into the binary (harnesses/*.toml).
UserGlobal
A user-global descriptor (<config-root>/harnesses/*.toml, where the
config root is $EVAL_MAGIC_CONFIG_DIR, $XDG_CONFIG_HOME/eval-magic,
or ~/.config/eval-magic).
ProjectLocal
A project-local descriptor (<cwd>/.eval-magic/harnesses/*.toml).
HarnessFile
A one-off descriptor passed via --harness-file <path>.
Implementations§
Trait Implementations§
impl Copy for Layer
impl Eq for Layer
impl StructuralPartialEq for Layer
Auto Trait Implementations§
impl Freeze for Layer
impl RefUnwindSafe for Layer
impl Send for Layer
impl Sync for Layer
impl Unpin for Layer
impl UnsafeUnpin for Layer
impl UnwindSafe for Layer
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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.