pub struct StructParameterMatchFixGenerator;Expand description
Generates fixes for struct field mismatches between modules
Implementations§
Source§impl StructParameterMatchFixGenerator
impl StructParameterMatchFixGenerator
Sourcepub fn new() -> StructParameterMatchFixGenerator
pub fn new() -> StructParameterMatchFixGenerator
Creates a new StructParameterMatchFixGenerator
Trait Implementations§
Source§impl FixGenerator for StructParameterMatchFixGenerator
impl FixGenerator for StructParameterMatchFixGenerator
Source§fn generate_fix(
&self,
_error: &DecrustError,
params: &ExtractedParameters,
source_code_context: Option<&str>,
) -> Option<Autocorrection>
fn generate_fix( &self, _error: &DecrustError, params: &ExtractedParameters, source_code_context: Option<&str>, ) -> Option<Autocorrection>
Generates a fix for an error using extracted parameters
Auto Trait Implementations§
impl Freeze for StructParameterMatchFixGenerator
impl RefUnwindSafe for StructParameterMatchFixGenerator
impl Send for StructParameterMatchFixGenerator
impl Sync for StructParameterMatchFixGenerator
impl Unpin for StructParameterMatchFixGenerator
impl UnwindSafe for StructParameterMatchFixGenerator
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