pub struct SemanticDiffResult {
pub changes: Vec<SemanticChange>,
pub file_renames: Vec<(PathBuf, PathBuf)>,
pub file_changes: FileChangeSet,
pub aggregated: Option<AggregationResult>,
pub fallback_reasons: Vec<SemanticFallbackReason>,
}Expand description
Result of full semantic diff analysis.
Fields§
§changes: Vec<SemanticChange>High-level semantic changes detected.
file_renames: Vec<(PathBuf, PathBuf)>Files that were renamed (old -> new).
file_changes: FileChangeSetRaw file-level changes.
aggregated: Option<AggregationResult>Aggregated changes (groups formatting passes, cross-file renames, etc.)
fallback_reasons: Vec<SemanticFallbackReason>Explicit reasons why parts of semantic analysis degraded.
Trait Implementations§
Source§impl Clone for SemanticDiffResult
impl Clone for SemanticDiffResult
Source§fn clone(&self) -> SemanticDiffResult
fn clone(&self) -> SemanticDiffResult
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 SemanticDiffResult
impl Debug for SemanticDiffResult
Source§impl Default for SemanticDiffResult
impl Default for SemanticDiffResult
Source§fn default() -> SemanticDiffResult
fn default() -> SemanticDiffResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SemanticDiffResult
impl RefUnwindSafe for SemanticDiffResult
impl Send for SemanticDiffResult
impl Sync for SemanticDiffResult
impl Unpin for SemanticDiffResult
impl UnsafeUnpin for SemanticDiffResult
impl UnwindSafe for SemanticDiffResult
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