pub struct PythonScriptFixer { /* private fields */ }Expand description
A fixer that is implemented as a Python script.
This gets used just for Python scripts, and significantly speeds things up because it prevents starting a new Python interpreter for every fixer.
Implementations§
Trait Implementations§
Source§impl Debug for PythonScriptFixer
impl Debug for PythonScriptFixer
Source§impl Fixer for PythonScriptFixer
impl Fixer for PythonScriptFixer
Lintian tags this fixer addresses
Source§fn run(
&self,
basedir: &Path,
package: &str,
current_version: &Version,
preferences: &FixerPreferences,
timeout: Option<Duration>,
) -> Result<FixerResult, FixerError>
fn run( &self, basedir: &Path, package: &str, current_version: &Version, preferences: &FixerPreferences, timeout: Option<Duration>, ) -> Result<FixerResult, FixerError>
Apply this fixer script. Read more
Auto Trait Implementations§
impl Freeze for PythonScriptFixer
impl RefUnwindSafe for PythonScriptFixer
impl Send for PythonScriptFixer
impl Sync for PythonScriptFixer
impl Unpin for PythonScriptFixer
impl UnwindSafe for PythonScriptFixer
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