pub struct MissingLifetimeFixGenerator;Expand description
Generates fixes for missing lifetime specifiers
Implementations§
Source§impl MissingLifetimeFixGenerator
impl MissingLifetimeFixGenerator
Sourcepub fn new() -> MissingLifetimeFixGenerator
pub fn new() -> MissingLifetimeFixGenerator
Creates a new MissingLifetimeFixGenerator
Trait Implementations§
Source§impl FixGenerator for MissingLifetimeFixGenerator
impl FixGenerator for MissingLifetimeFixGenerator
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 MissingLifetimeFixGenerator
impl RefUnwindSafe for MissingLifetimeFixGenerator
impl Send for MissingLifetimeFixGenerator
impl Sync for MissingLifetimeFixGenerator
impl Unpin for MissingLifetimeFixGenerator
impl UnwindSafe for MissingLifetimeFixGenerator
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