pub struct RecordChanges { /* private fields */ }Expand description
What a record and its subtree were at their last changes, and where the record sat in its parent’s layer: two values taken of one record agree where nothing changed in between.
Implementations§
Source§impl RecordChanges
impl RecordChanges
Sourcepub fn record(self) -> RecordRef
pub fn record(self) -> RecordRef
The record the changes are of, with the generation of its row.
Sourcepub fn same_subtree(self, other: Self) -> bool
pub fn same_subtree(self, other: Self) -> bool
Whether nothing in the record’s subtree changed between self and
other.
Sourcepub fn same_own(self, other: Self) -> bool
pub fn same_own(self, other: Self) -> bool
Whether the record itself, its properties, draws and items, did not
change between self and other, whatever changed beneath it.
Sourcepub fn same_place(self, other: Self) -> bool
pub fn same_place(self, other: Self) -> bool
Whether the record sat in one place in its parent’s layer between
self and other: neither it nor its parent’s content moved.
Trait Implementations§
Source§impl Clone for RecordChanges
impl Clone for RecordChanges
impl Copy for RecordChanges
Source§impl Debug for RecordChanges
impl Debug for RecordChanges
impl Eq for RecordChanges
Source§impl Hash for RecordChanges
impl Hash for RecordChanges
Source§impl PartialEq for RecordChanges
impl PartialEq for RecordChanges
impl StructuralPartialEq for RecordChanges
Auto Trait Implementations§
impl Forget for RecordChanges
impl Freeze for RecordChanges
impl Move for RecordChanges
impl RefUnwindSafe for RecordChanges
impl Send for RecordChanges
impl Sync for RecordChanges
impl Unpin for RecordChanges
impl UnsafeUnpin for RecordChanges
impl UnwindSafe for RecordChanges
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