pub struct ParsedExternCrate {
pub crate_name: String,
pub path: PathBuf,
}Expand description
One --extern name=path pair from a rustc invocation.
Fields§
§crate_name: StringCrate name as passed to --extern (rustc form, underscores).
path: PathBufPath to the dependency’s rlib or rmeta.
Trait Implementations§
Source§impl Clone for ParsedExternCrate
impl Clone for ParsedExternCrate
Source§impl Debug for ParsedExternCrate
impl Debug for ParsedExternCrate
Source§impl<'de> Deserialize<'de> for ParsedExternCrate
impl<'de> Deserialize<'de> for ParsedExternCrate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ParsedExternCrate
Source§impl Ord for ParsedExternCrate
impl Ord for ParsedExternCrate
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ParsedExternCrate
impl PartialEq for ParsedExternCrate
Source§impl PartialOrd for ParsedExternCrate
impl PartialOrd for ParsedExternCrate
Source§impl Serialize for ParsedExternCrate
impl Serialize for ParsedExternCrate
impl StructuralPartialEq for ParsedExternCrate
Auto Trait Implementations§
impl Freeze for ParsedExternCrate
impl RefUnwindSafe for ParsedExternCrate
impl Send for ParsedExternCrate
impl Sync for ParsedExternCrate
impl Unpin for ParsedExternCrate
impl UnsafeUnpin for ParsedExternCrate
impl UnwindSafe for ParsedExternCrate
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.