pub struct MissingTraitImplFixGenerator;
Expand description
Generates fixes for missing trait implementations
Implementations§
Trait Implementations§
Source§impl FixGenerator for MissingTraitImplFixGenerator
impl FixGenerator for MissingTraitImplFixGenerator
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 MissingTraitImplFixGenerator
impl RefUnwindSafe for MissingTraitImplFixGenerator
impl Send for MissingTraitImplFixGenerator
impl Sync for MissingTraitImplFixGenerator
impl Unpin for MissingTraitImplFixGenerator
impl UnwindSafe for MissingTraitImplFixGenerator
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