pub struct EnumParameterMatchFixGenerator;
Expand description
Generates fixes for enum parameter mismatches between modules
Implementations§
Trait Implementations§
Source§impl FixGenerator for EnumParameterMatchFixGenerator
impl FixGenerator for EnumParameterMatchFixGenerator
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 EnumParameterMatchFixGenerator
impl RefUnwindSafe for EnumParameterMatchFixGenerator
impl Send for EnumParameterMatchFixGenerator
impl Sync for EnumParameterMatchFixGenerator
impl Unpin for EnumParameterMatchFixGenerator
impl UnwindSafe for EnumParameterMatchFixGenerator
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