pub struct WorktreeDryRunReport { /* private fields */ }Expand description
Side-effect-free projection of a resource-operation plan.
Implementations§
Source§impl WorktreeDryRunReport
impl WorktreeDryRunReport
pub fn operation(&self) -> &str
pub fn files(&self) -> &[OperationChange]
pub const fn touched_paths(&self) -> usize
pub fn total_edits(&self) -> usize
Trait Implementations§
Source§impl Clone for WorktreeDryRunReport
impl Clone for WorktreeDryRunReport
Source§fn clone(&self) -> WorktreeDryRunReport
fn clone(&self) -> WorktreeDryRunReport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WorktreeDryRunReport
impl Debug for WorktreeDryRunReport
impl Eq for WorktreeDryRunReport
Source§impl PartialEq for WorktreeDryRunReport
impl PartialEq for WorktreeDryRunReport
impl StructuralPartialEq for WorktreeDryRunReport
Auto Trait Implementations§
impl Freeze for WorktreeDryRunReport
impl RefUnwindSafe for WorktreeDryRunReport
impl Send for WorktreeDryRunReport
impl Sync for WorktreeDryRunReport
impl Unpin for WorktreeDryRunReport
impl UnsafeUnpin for WorktreeDryRunReport
impl UnwindSafe for WorktreeDryRunReport
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