Struct flowistry_ide::FlowistryPlugin
source · pub struct FlowistryPlugin;
Trait Implementations§
source§impl RustcPlugin for FlowistryPlugin
impl RustcPlugin for FlowistryPlugin
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<FlowistryPluginArgs>
fn args(&self, target_dir: &Utf8Path) -> RustcPluginArgs<FlowistryPluginArgs>
Parses and returns the CLI arguments for the plugin.
source§fn run(
self,
compiler_args: Vec<String>,
plugin_args: FlowistryPluginArgs
) -> RustcResult<()>
fn run( self, compiler_args: Vec<String>, plugin_args: FlowistryPluginArgs ) -> RustcResult<()>
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 FlowistryPlugin
impl Send for FlowistryPlugin
impl Sync for FlowistryPlugin
impl Unpin for FlowistryPlugin
impl UnwindSafe for FlowistryPlugin
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