Struct flowistry_ifc::IfcPlugin
source · pub struct IfcPlugin;
Trait Implementations§
source§impl RustcPlugin for IfcPlugin
impl RustcPlugin for IfcPlugin
source§fn driver_name(&self) -> Cow<'static, str>
fn driver_name(&self) -> Cow<'static, str>
Returns the name of your driver binary as it’s installed in the filesystem. Read more
source§fn args(&self, _target_dir: &Utf8Path) -> RustcPluginArgs<Self::Args>
fn args(&self, _target_dir: &Utf8Path) -> RustcPluginArgs<Self::Args>
Parses and returns the CLI arguments for the plugin.
source§fn run(self, compiler_args: Vec<String>, _plugin_args: Self::Args) -> Result<()>
fn run(self, compiler_args: Vec<String>, _plugin_args: Self::Args) -> Result<()>
Executes the plugin with a set of compiler and plugin args.
source§fn modify_cargo(&self, _cargo: &mut Command, _args: &Self::Args)
fn modify_cargo(&self, _cargo: &mut Command, _args: &Self::Args)
Optionally modify the
cargo
command that launches rustc.
For example, you could pass a --feature
flag here.Auto Trait Implementations§
impl RefUnwindSafe for IfcPlugin
impl Send for IfcPlugin
impl Sync for IfcPlugin
impl Unpin for IfcPlugin
impl UnwindSafe for IfcPlugin
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