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