pub struct Change<'a, 'old, 'new> {
pub location: &'a BStr,
pub event: Event<'old, 'new>,
}
Expand description
Represents any possible change in order to turn one tree into another.
Fields
location: &'a BStr
The location of the file or directory described by event
, if tracking was enabled.
Otherwise this value is always an empty path.
event: Event<'old, 'new>
The diff event itself to provide information about what would need to change.
Trait Implementations
impl<'a, 'old, 'new> Copy for Change<'a, 'old, 'new>
Auto Trait Implementations
impl<'a, 'old, 'new> !RefUnwindSafe for Change<'a, 'old, 'new>
impl<'a, 'old, 'new> !Send for Change<'a, 'old, 'new>
impl<'a, 'old, 'new> !Sync for Change<'a, 'old, 'new>
impl<'a, 'old, 'new> Unpin for Change<'a, 'old, 'new>
impl<'a, 'old, 'new> !UnwindSafe for Change<'a, 'old, 'new>
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