Struct rustc::session::config::OutputTypes [−][src]
pub struct OutputTypes(BTreeMap<OutputType, Option<PathBuf>>);
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Methods
impl OutputTypes[src]
impl OutputTypespub fn new(entries: &[(OutputType, Option<PathBuf>)]) -> OutputTypes[src]
pub fn new(entries: &[(OutputType, Option<PathBuf>)]) -> OutputTypes🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
pub fn get(&self, key: &OutputType) -> Option<&Option<PathBuf>>[src]
pub fn get(&self, key: &OutputType) -> Option<&Option<PathBuf>>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
pub fn contains_key(&self, key: &OutputType) -> bool[src]
pub fn contains_key(&self, key: &OutputType) -> bool🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
ⓘImportant traits for Keys<'a, K, V>pub fn keys<'a>(&'a self) -> BTreeMapKeysIter<'a, OutputType, Option<PathBuf>>[src]
pub fn keys<'a>(&'a self) -> BTreeMapKeysIter<'a, OutputType, Option<PathBuf>>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
ⓘImportant traits for Values<'a, K, V>pub fn values<'a>(
&'a self
) -> BTreeMapValuesIter<'a, OutputType, Option<PathBuf>>[src]
pub fn values<'a>(
&'a self
) -> BTreeMapValuesIter<'a, OutputType, Option<PathBuf>>🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
pub fn len(&self) -> usize[src]
pub fn len(&self) -> usize🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
pub fn should_codegen(&self) -> bool[src]
pub fn should_codegen(&self) -> bool🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Trait Implementations
impl DepTrackingHash for OutputTypes[src]
impl DepTrackingHash for OutputTypesfn hash(&self, hasher: &mut DefaultHasher, _: ErrorOutputType)[src]
fn hash(&self, hasher: &mut DefaultHasher, _: ErrorOutputType)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
impl Clone for OutputTypes[src]
impl Clone for OutputTypesfn clone(&self) -> OutputTypes[src]
fn clone(&self) -> OutputTypesReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl Hash for OutputTypes[src]
impl Hash for OutputTypesfn hash<__H: Hasher>(&self, state: &mut __H)[src]
fn hash<__H: Hasher>(&self, state: &mut __H)Feeds this value into the given [Hasher]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, 1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher, Feeds a slice of this type into the given [Hasher]. Read more
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for OutputTypes[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for OutputTypesfn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)[src]
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Auto Trait Implementations
impl Send for OutputTypes
impl Send for OutputTypesimpl Sync for OutputTypes
impl Sync for OutputTypes