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§
source§impl Clone for FoundCrate
impl Clone for FoundCrate
source§fn clone(&self) -> FoundCrate
fn clone(&self) -> FoundCrate
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more