#[non_exhaustive]pub enum MergeNote {
Overrode {
layer: String,
chord: String,
},
Unbound {
layer: String,
chord: String,
},
UnbindMiss {
layer: String,
chord: String,
},
DroppedSequence {
sequence: Vec<String>,
},
}Expand description
An advisory note emitted by merge.
All variants are display/audit information only; none indicate an error or require action from the caller.
This is #[non_exhaustive] — future additive merge operations may add
further note kinds without a breaking change.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Overrode
The overlay bound chord in layer, overriding an existing binding in
the base. chord is in canonical form (e.g. "ctrl+s").
Fields
Unbound
The overlay declared chord in layer as a tombstone (= false), and
the chord was removed from the base layer. chord is in canonical form.
Fields
UnbindMiss
The overlay’s unbinds contained a tombstone for chord in layer,
but the base had no binding for that chord — the tombstone was a no-op.
Fields
DroppedSequence
A sequence from the base was dropped because it shared a prefix with a sequence in the overlay (the overlay’s sequence takes priority). The dropped sequence’s chords are one canonical string per key.
Trait Implementations§
impl Eq for MergeNote
impl StructuralPartialEq for MergeNote
Auto Trait Implementations§
impl Freeze for MergeNote
impl RefUnwindSafe for MergeNote
impl Send for MergeNote
impl Sync for MergeNote
impl Unpin for MergeNote
impl UnsafeUnpin for MergeNote
impl UnwindSafe for MergeNote
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
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
key and return true if they are equal.