Enum proc_macro_crate::FoundCrate
source · [−]pub enum FoundCrate {
Itself,
Name(String),
}
Expand description
The crate as found by crate_name
.
Variants
Itself
The searched crate is this crate itself.
Name(String)
The searched crate was found with this name.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for FoundCrate
impl Send for FoundCrate
impl Sync for FoundCrate
impl Unpin for FoundCrate
impl UnwindSafe for FoundCrate
Blanket Implementations
Mutably borrows from an owned value. Read more