pub struct FunctionRenameCandidate {
pub new_name: String,
pub confidence: f64,
pub body_changed: bool,
}Expand description
One structurally plausible target for a function that disappeared under its old name.
Fields§
§new_name: String§confidence: f64§body_changed: boolWhether bytes other than the consistently renamed function name changed.
Trait Implementations§
Source§impl Clone for FunctionRenameCandidate
impl Clone for FunctionRenameCandidate
Source§fn clone(&self) -> FunctionRenameCandidate
fn clone(&self) -> FunctionRenameCandidate
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 FunctionRenameCandidate
impl Debug for FunctionRenameCandidate
Source§impl PartialEq for FunctionRenameCandidate
impl PartialEq for FunctionRenameCandidate
impl StructuralPartialEq for FunctionRenameCandidate
Auto Trait Implementations§
impl Freeze for FunctionRenameCandidate
impl RefUnwindSafe for FunctionRenameCandidate
impl Send for FunctionRenameCandidate
impl Sync for FunctionRenameCandidate
impl Unpin for FunctionRenameCandidate
impl UnsafeUnpin for FunctionRenameCandidate
impl UnwindSafe for FunctionRenameCandidate
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