[][src]Struct rustc_ap_rustc_session::config::Options

pub struct Options {
    pub crate_types: Vec<CrateType>,
    pub optimize: OptLevel,
    pub debug_assertions: bool,
    pub debuginfo: DebugInfo,
    pub lint_opts: Vec<(String, Level)>,
    pub lint_cap: Option<Level>,
    pub describe_lints: bool,
    pub output_types: OutputTypes,
    pub search_paths: Vec<SearchPath>,
    pub libs: Vec<(String, Option<String>, NativeLibKind)>,
    pub maybe_sysroot: Option<PathBuf>,
    pub target_triple: TargetTriple,
    pub test: bool,
    pub error_format: ErrorOutputType,
    pub incremental: Option<PathBuf>,
    pub debugging_opts: DebuggingOptions,
    pub prints: Vec<PrintRequest>,
    pub borrowck_mode: BorrowckMode,
    pub cg: CodegenOptions,
    pub externs: Externs,
    pub crate_name: Option<String>,
    pub alt_std_name: Option<String>,
    pub unstable_features: UnstableFeatures,
    pub actually_rustdoc: bool,
    pub cli_forced_codegen_units: Option<usize>,
    pub cli_forced_thinlto_off: bool,
    pub remap_path_prefix: Vec<(PathBuf, PathBuf)>,
    pub edition: Edition,
    pub json_artifact_notifications: bool,
    pub pretty: Option<PpMode>,
}

Fields

crate_types: Vec<CrateType>optimize: OptLeveldebug_assertions: booldebuginfo: DebugInfolint_opts: Vec<(String, Level)>lint_cap: Option<Level>describe_lints: booloutput_types: OutputTypessearch_paths: Vec<SearchPath>libs: Vec<(String, Option<String>, NativeLibKind)>maybe_sysroot: Option<PathBuf>target_triple: TargetTripletest: boolerror_format: ErrorOutputTypeincremental: Option<PathBuf>debugging_opts: DebuggingOptionsprints: Vec<PrintRequest>borrowck_mode: BorrowckModecg: CodegenOptionsexterns: Externscrate_name: Option<String>alt_std_name: Option<String>unstable_features: UnstableFeaturesactually_rustdoc: boolcli_forced_codegen_units: Option<usize>cli_forced_thinlto_off: boolremap_path_prefix: Vec<(PathBuf, PathBuf)>edition: Editionjson_artifact_notifications: boolpretty: Option<PpMode>

Implementations

impl Options[src]

pub fn build_dep_graph(&self) -> bool[src]

Returns true if there is a reason to build the dep graph.

pub fn enable_dep_node_debug_strs(&self) -> bool[src]

pub fn file_path_mapping(&self) -> FilePathMapping[src]

pub fn will_create_output_file(&self) -> bool[src]

Returns true if there will be an output file generated.

pub fn share_generics(&self) -> bool[src]

impl Options[src]

pub fn dep_tracking_hash(&self) -> u64[src]

Trait Implementations

impl Clone for Options[src]

impl Default for Options[src]

Auto Trait Implementations

impl RefUnwindSafe for Options

impl Send for Options

impl Sync for Options

impl Unpin for Options

impl UnwindSafe for Options

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized
[src]

impl<T> Erased for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeResult<T> for T[src]

type Error = !

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,