Struct cargo::core::compiler::fingerprint::RustcDepInfo
source · pub struct RustcDepInfo {
pub files: Vec<PathBuf>,
pub env: Vec<(String, Option<String>)>,
}
Expand description
The representation of the .d
dep-info file generated by rustc
Fields§
§files: Vec<PathBuf>
The list of files that the main target in the dep-info file depends on.
env: Vec<(String, Option<String>)>
The list of environment variables we found that the rustc compilation depends on.
The first element of the pair is the name of the env var and the second
item is the value. Some
means that the env var was set, and None
means that the env var wasn’t actually set and the compilation depends
on it not being set.
Trait Implementations§
source§impl Default for RustcDepInfo
impl Default for RustcDepInfo
source§fn default() -> RustcDepInfo
fn default() -> RustcDepInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for RustcDepInfo
impl RefUnwindSafe for RustcDepInfo
impl Send for RustcDepInfo
impl Sync for RustcDepInfo
impl Unpin for RustcDepInfo
impl UnwindSafe for RustcDepInfo
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
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> WithSubscriber for T
impl<T> WithSubscriber for T
§fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>where
S: Into<Dispatch>,
§fn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 48 bytes