pub struct YamlParseFixGenerator;
Expand description
Generates fixes for YAML parsing errors
Implementations§
Trait Implementations§
Source§impl FixGenerator for YamlParseFixGenerator
impl FixGenerator for YamlParseFixGenerator
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 YamlParseFixGenerator
impl RefUnwindSafe for YamlParseFixGenerator
impl Send for YamlParseFixGenerator
impl Sync for YamlParseFixGenerator
impl Unpin for YamlParseFixGenerator
impl UnwindSafe for YamlParseFixGenerator
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