pub enum ModeSource {
Default,
Project,
Personal,
Item,
ProjectMax,
}Expand description
Source of a resolved interaction mode.
Variants§
Default
From project.defaults.yaml (Joy’s recommendation).
Project
From project.yaml agents.defaults override.
Personal
From config.yaml personal preference.
Item
From item-level override (future).
ProjectMax
Clamped by max-mode from project.yaml member config.
Trait Implementations§
Source§impl Clone for ModeSource
impl Clone for ModeSource
Source§fn clone(&self) -> ModeSource
fn clone(&self) -> ModeSource
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ModeSource
impl Debug for ModeSource
Source§impl Display for ModeSource
impl Display for ModeSource
Source§impl PartialEq for ModeSource
impl PartialEq for ModeSource
impl Copy for ModeSource
impl Eq for ModeSource
impl StructuralPartialEq for ModeSource
Auto Trait Implementations§
impl Freeze for ModeSource
impl RefUnwindSafe for ModeSource
impl Send for ModeSource
impl Sync for ModeSource
impl Unpin for ModeSource
impl UnsafeUnpin for ModeSource
impl UnwindSafe for ModeSource
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.