pub struct RecursiveTypeFixGenerator;Expand description
Generates fixes for recursive type definition errors (E0072)
Implementations§
Source§impl RecursiveTypeFixGenerator
impl RecursiveTypeFixGenerator
Sourcepub fn new() -> RecursiveTypeFixGenerator
pub fn new() -> RecursiveTypeFixGenerator
Creates a new RecursiveTypeFixGenerator
Trait Implementations§
Source§impl FixGenerator for RecursiveTypeFixGenerator
impl FixGenerator for RecursiveTypeFixGenerator
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 RecursiveTypeFixGenerator
impl RefUnwindSafe for RecursiveTypeFixGenerator
impl Send for RecursiveTypeFixGenerator
impl Sync for RecursiveTypeFixGenerator
impl Unpin for RecursiveTypeFixGenerator
impl UnwindSafe for RecursiveTypeFixGenerator
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