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 Freeze for FlowistryPlugin
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more