pub enum Delta {
}Expand description
A change that will be applied at the next loop boundary.
Variants§
Add(String)
A new pattern was added.
Modify(String)
An existing pattern was modified.
Remove(String)
A pattern was removed.
Mute(String)
A pattern was muted.
Unmute(String)
A pattern was unmuted.
AddInstrument(String)
A def instrument was added.
ModifyInstrument(String)
A def instrument’s definition changed.
RemoveInstrument(String)
A def instrument was removed from the buffer.
AddGroup(String)
A group was added.
ModifyGroup(String)
A group’s members, filters, or mute flag changed.
RemoveGroup(String)
A group was removed.
Load(String)
A load "<path>" needs resolving: the path is new to the buffer, or the
order of the load lines changed and with it which file wins a name.
This crate does no I/O, so it cannot see a loaded file change on disk; a consumer watching the file raises this same delta for that case (§9.2).
Unload(String)
A load line left the buffer, so its definitions go with it.
Trait Implementations§
impl StructuralPartialEq for Delta
Auto Trait Implementations§
impl Freeze for Delta
impl RefUnwindSafe for Delta
impl Send for Delta
impl Sync for Delta
impl Unpin for Delta
impl UnsafeUnpin for Delta
impl UnwindSafe for Delta
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