pub struct Batch {
pub changes: Vec<Change>,
pub dirty: bool,
}Expand description
One batch of applied changes.
Fields§
§changes: Vec<Change>Changes the selection admitted, in commit order.
dirty: boolWhether anything was applied at all, before selection filtering.
A batch can be non-empty and still yield no changes, when everything it carried
was filtered out. Aggregate views re-render on this rather than on changes,
because a filtered-out change still moves the totals a tree view reports.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Batch
impl RefUnwindSafe for Batch
impl Send for Batch
impl Sync for Batch
impl Unpin for Batch
impl UnsafeUnpin for Batch
impl UnwindSafe for Batch
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