pub struct Pyc { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Processor for Pyc
impl Processor for Pyc
fn name(&self) -> &str
Source§fn filter(&self, path: &Path) -> Result<bool>
fn filter(&self, path: &Path) -> Result<bool>
Return true if the given path looks like it should be processed.
Source§fn process(&self, input_path: &Path) -> Result<ProcessResult>
fn process(&self, input_path: &Path) -> Result<ProcessResult>
Process file and indicate whether modifications were made.
Source§fn initialize(&mut self) -> Result<()>
fn initialize(&mut self) -> Result<()>
Optionally, do “global” setup of the processor.
Auto Trait Implementations§
impl Freeze for Pyc
impl RefUnwindSafe for Pyc
impl Send for Pyc
impl Sync for Pyc
impl Unpin for Pyc
impl UnwindSafe for Pyc
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