Struct rustc_plugin::RustcPluginArgs
source · pub struct RustcPluginArgs<Args> {
pub args: Args,
pub filter: CrateFilter,
}
Expand description
Arguments from your plugin to the rustc_plugin framework.
Fields§
§args: Args
Whatever CLI arguments you want to pass along.
filter: CrateFilter
Which crates you want to run the plugin on.
Auto Trait Implementations§
impl<Args> Freeze for RustcPluginArgs<Args>where
Args: Freeze,
impl<Args> RefUnwindSafe for RustcPluginArgs<Args>where
Args: RefUnwindSafe,
impl<Args> Send for RustcPluginArgs<Args>where
Args: Send,
impl<Args> Sync for RustcPluginArgs<Args>where
Args: Sync,
impl<Args> Unpin for RustcPluginArgs<Args>where
Args: Unpin,
impl<Args> UnwindSafe for RustcPluginArgs<Args>where
Args: UnwindSafe,
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