Struct rustc_ap_rustc_session::config::OutputFilenames[][src]

pub struct OutputFilenames {
    pub out_directory: PathBuf,
    pub single_output_file: Option<PathBuf>,
    pub outputs: OutputTypes,
    // some fields omitted
}

Fields

out_directory: PathBufsingle_output_file: Option<PathBuf>outputs: OutputTypes

Implementations

Gets the path where a compilation artifact of the given type for the given codegen unit should be placed on disk. If codegen_unit_name is None, a path distinct from those of any codegen unit will be generated.

Like temp_path, but specifically for dwarf objects.

Like temp_path, but also supports things where there is no corresponding OutputType, like noopt-bitcode or lto-bitcode.

Returns the path for the Split DWARF file - this can differ depending on which Split DWARF mode is being used, which is the logic that this function is intended to encapsulate.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Feeds this value into the given Hasher. Read more

Feeds a slice of this type into the given Hasher. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.