Struct rustc_session::config::OutputTypes [−][src]
pub struct OutputTypes(BTreeMap<OutputType, Option<PathBuf>>);
Expand description
Use tree-based collections to cheaply get a deterministic Hash implementation.
Do not switch BTreeMap out for an unsorted container type! That would break
dependency tracking for command-line arguments. Also only hash keys, since tracking
should only depend on the output types, not the paths they’re written to.
Implementations
Trait Implementations
fn hash(
&self,
hasher: &mut DefaultHasher,
error_format: ErrorOutputType,
for_crate_hash: bool
)Auto Trait Implementations
impl RefUnwindSafe for OutputTypesimpl Send for OutputTypesimpl Sync for OutputTypesimpl Unpin for OutputTypesimpl UnwindSafe for OutputTypesBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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: 24 bytes