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 Freeze for IfcPlugin
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