pub struct JsPlugin {}
Implementations§
Trait Implementations§
Source§impl Plugin for JsPlugin
impl Plugin for JsPlugin
fn extensions(&self) -> &[&str]
fn process_file_to( &mut self, source_file: File, output_file: File, ) -> Result<(), Box<dyn Error>>
fn init(&mut self, context: &PluginContext)
fn is_valid_extension(&self, extension: &str) -> bool
fn prepare(&mut self, context: &PluginContext)
fn reset(&mut self)
fn get_dependencies(&mut self) -> Option<Vec<Rc<PathBuf>>>
impl Copy for JsPlugin
Auto Trait Implementations§
impl Freeze for JsPlugin
impl RefUnwindSafe for JsPlugin
impl Send for JsPlugin
impl Sync for JsPlugin
impl Unpin for JsPlugin
impl UnwindSafe for JsPlugin
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