pub enum FunctionRenameResolution {
Renamed(FunctionRenameCandidate),
Ambiguous(Vec<FunctionRenameCandidate>),
NotRenamed,
}Expand description
Conservative result for resolving one function rename.
The general semantic diff may choose a stable best pairing so it can describe a whole file. Durable anchors have a stricter contract: only a high-confidence candidate with a clear lead may move the anchor.
Variants§
Trait Implementations§
Source§impl Clone for FunctionRenameResolution
impl Clone for FunctionRenameResolution
Source§fn clone(&self) -> FunctionRenameResolution
fn clone(&self) -> FunctionRenameResolution
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 FunctionRenameResolution
impl Debug for FunctionRenameResolution
Source§impl PartialEq for FunctionRenameResolution
impl PartialEq for FunctionRenameResolution
impl StructuralPartialEq for FunctionRenameResolution
Auto Trait Implementations§
impl Freeze for FunctionRenameResolution
impl RefUnwindSafe for FunctionRenameResolution
impl Send for FunctionRenameResolution
impl Sync for FunctionRenameResolution
impl Unpin for FunctionRenameResolution
impl UnsafeUnpin for FunctionRenameResolution
impl UnwindSafe for FunctionRenameResolution
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