[−][src]Struct rustc_ap_rustc_session::config::Options
Fields
crate_types: Vec<CrateType>
optimize: OptLevel
debug_assertions: bool
debuginfo: DebugInfo
lint_opts: Vec<(String, Level)>
lint_cap: Option<Level>
describe_lints: bool
output_types: OutputTypes
search_paths: Vec<SearchPath>
libs: Vec<(String, Option<String>, Option<NativeLibraryKind>)>
maybe_sysroot: Option<PathBuf>
target_triple: TargetTriple
test: bool
error_format: ErrorOutputType
incremental: Option<PathBuf>
debugging_opts: DebuggingOptions
prints: Vec<PrintRequest>
borrowck_mode: BorrowckMode
cg: CodegenOptions
externs: Externs
crate_name: Option<String>
alt_std_name: Option<String>
unstable_features: UnstableFeatures
actually_rustdoc: bool
cli_forced_codegen_units: Option<usize>
cli_forced_thinlto_off: bool
remap_path_prefix: Vec<(PathBuf, PathBuf)>
edition: Edition
json_artifact_notifications: bool
pretty: Option<PpMode>
Methods
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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<'a, T> Captures<'a> for T where
T: ?Sized,
[src]
T: ?Sized,
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]
U: From<T>,
impl<T> MaybeResult<T> for T
[src]
type Error = !
fn from(Result<T, <T as MaybeResult<T>>::Error>) -> T
[src]
fn to_result(self) -> Result<T, <T as MaybeResult<T>>::Error>
[src]
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<E> SpecializationError for E
[src]
default fn not_found<S, T>(
trait_name: &'static str,
method_name: &'static str
) -> E where
T: ?Sized,
[src]
trait_name: &'static str,
method_name: &'static str
) -> E where
T: ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,