pub struct BronziteQueryPlugin;Expand description
The Bronzite query plugin
Trait Implementations§
Source§impl RustcPlugin for BronziteQueryPlugin
impl RustcPlugin for BronziteQueryPlugin
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 BronziteQueryPlugin
impl RefUnwindSafe for BronziteQueryPlugin
impl Send for BronziteQueryPlugin
impl Sync for BronziteQueryPlugin
impl Unpin for BronziteQueryPlugin
impl UnwindSafe for BronziteQueryPlugin
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