Expand description
A Visit implementation to record every observed change and keep track of the changed paths.
Fields
records: Vec<Change>
The observed changes.
Trait Implementations
sourceimpl Visit for Recorder
impl Visit for Recorder
sourcefn pop_front_tracked_path_and_set_current(&mut self)
fn pop_front_tracked_path_and_set_current(&mut self)
Sets the full path path in front of the queue so future calls to push and pop components affect it instead.
sourcefn push_back_tracked_path_component(&mut self, component: &BStr)
fn push_back_tracked_path_component(&mut self, component: &BStr)
Append a
component
to the end of a path, which may be empty.sourcefn push_path_component(&mut self, component: &BStr)
fn push_path_component(&mut self, component: &BStr)
Append a
component
to the end of a path, which may be empty.sourcefn pop_path_component(&mut self)
fn pop_path_component(&mut self)
Removes the last component from the path, which may leave it empty.
Auto Trait Implementations
impl RefUnwindSafe for Recorder
impl Send for Recorder
impl Sync for Recorder
impl Unpin for Recorder
impl UnwindSafe for Recorder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more