Enum rustc_plugin::CrateFilter
source · pub enum CrateFilter {
AllCrates,
OnlyWorkspace,
CrateContainingFile(PathBuf),
}
Expand description
Specification of a set of crates.
Variants§
AllCrates
Every crate in the workspace and all transitive dependencies.
OnlyWorkspace
Just crates in the workspace.
CrateContainingFile(PathBuf)
Only the crate containing a specific file.
Auto Trait Implementations§
impl Freeze for CrateFilter
impl RefUnwindSafe for CrateFilter
impl Send for CrateFilter
impl Sync for CrateFilter
impl Unpin for CrateFilter
impl UnwindSafe for CrateFilter
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