pub struct NotFoundFixGenerator;Expand description
Generates fixes for NotFound errors
Implementations§
Source§impl NotFoundFixGenerator
impl NotFoundFixGenerator
Sourcepub fn new() -> NotFoundFixGenerator
pub fn new() -> NotFoundFixGenerator
Creates a new NotFoundFixGenerator
Trait Implementations§
Source§impl Default for NotFoundFixGenerator
impl Default for NotFoundFixGenerator
Source§fn default() -> NotFoundFixGenerator
fn default() -> NotFoundFixGenerator
Returns the “default value” for a type. Read more
Source§impl FixGenerator for NotFoundFixGenerator
impl FixGenerator for NotFoundFixGenerator
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 NotFoundFixGenerator
impl RefUnwindSafe for NotFoundFixGenerator
impl Send for NotFoundFixGenerator
impl Sync for NotFoundFixGenerator
impl Unpin for NotFoundFixGenerator
impl UnwindSafe for NotFoundFixGenerator
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