[−][src]Struct syntax::feature_gate::Features
A set of features to be used by later passes.
Fields
declared_lang_features: Vec<(Symbol, Span, Option<Symbol>)>#![feature] attrs for language features, for error reporting
declared_lib_features: Vec<(Symbol, Span)>#![feature] attrs for non-language (library) features
intrinsics: boollang_items: boolstaged_api: boolallow_internal_unstable: boolallow_internal_unsafe: boolrustc_diagnostic_macros: boolrustc_const_unstable: boollink_llvm_intrinsics: boolrustc_attrs: boolon_unimplemented: boolbox_syntax: boolmain: boolstart: boolfundamental: boolunboxed_closures: boollinkage: booloptin_builtin_traits: boolbox_patterns: boolprelude_import: booldropck_parametricity: boolomit_gdb_pretty_printer_section: boolabi_vectorcall: boolstructural_match: booldropck_eyepatch: boolpanic_runtime: boolneeds_panic_runtime: boolcompiler_builtins: boolabi_unadjusted: boolsanitizer_runtime: boolprofiler_runtime: boolabi_thiscall: boolallocator_internals: boolformat_args_nl: booltest_2018_feature: boolarm_target_feature: boolaarch64_target_feature: boolhexagon_target_feature: boolpowerpc_target_feature: boolmips_target_feature: boolavx512_target_feature: boolmmx_target_feature: boolsse4a_target_feature: booltbm_target_feature: boolwasm_target_feature: booladx_target_feature: boolcmpxchg16b_target_feature: boolmovbe_target_feature: boolrtm_target_feature: boolf16c_target_feature: boolasm: boolconcat_idents: boollink_args: boolnon_ascii_idents: boolplugin_registrar: boolplugin: boolthread_local: boollog_syntax: booltrace_macros: boolsimd_ffi: boolcustom_attribute: boolnll: boolslice_patterns: boolconst_fn: boolassociated_type_defaults: boolno_core: booldefault_type_parameter_fallback: boolrepr_simd: boolplatform_intrinsics: boolunwind_attributes: boolno_debug: boolstmt_expr_attributes: booltype_ascription: boolcfg_target_thread_local: boolspecialization: boolnaked_functions: boolcfg_target_has_atomic: boolexclusive_range_pattern: boolnever_type: boolexhaustive_patterns: booluntagged_unions: boollink_cfg: boolabi_ptx: boolrepr128: boolstatic_nobundle: boolabi_msp430_interrupt: booldecl_macro: boolabi_x86_interrupt: boolglobal_asm: booloverlapping_marker_traits: boolallow_fail: boolunsized_tuple_coercion: boolgenerators: booldoc_cfg: booldoc_masked: booldoc_spotlight: boolexternal_doc: boolnon_exhaustive: boolcrate_visibility_modifier: boolextern_types: boolarbitrary_self_types: boolin_band_lifetimes: boolgeneric_associated_types: booltrait_alias: boolinfer_static_outlives_requirements: boolmacros_in_extern: boolconst_fn_union: boolconst_raw_ptr_to_usize_cast: boolconst_raw_ptr_deref: boolconst_compare_raw_pointers: booldoc_alias: boolexistential_type: booltrivial_bounds: boollabel_break_value: booldoc_keyword: boolasync_await: boolawait_macro: boolconst_transmute: booltry_blocks: boolalloc_error_handler: boolabi_amdgpu_kernel: boolconst_panic: boolmarker_trait_attr: boolproc_macro_hygiene: boolunsized_locals: boolcustom_test_frameworks: boolcustom_inner_attributes: boolbind_by_move_pattern_guards: boolimpl_trait_in_bindings: boolunderscore_const_names: boollint_reasons: booltype_alias_enum_variants: boolprecise_pointer_size_matching: boolre_rebalance_coherence: boolffi_returns_twice: boolconst_generics: booloptimize_attribute: boolrepr_align_enum: boolc_variadic: boolMethods
impl Features[src]
pub fn new() -> Features[src]
pub fn walk_feature_fields<F>(&self, f: F) where
F: FnMut(&str, bool), [src]
F: FnMut(&str, bool),
Trait Implementations
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
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<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
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> Send for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Sync for T where
T: ?Sized, [src]
T: ?Sized,