[−][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
asm: boolconcat_idents: boollink_args: boollog_syntax: boolnon_ascii_idents: boolplugin_registrar: boolthread_local: booltrace_macros: boolintrinsics: boollang_items: boolformat_args_nl: boollink_llvm_intrinsics: boollinkage: boolrustc_diagnostic_macros: boolrustc_const_unstable: boolbox_syntax: boolunboxed_closures: boolfundamental: boolmain: boolneeds_allocator: boolon_unimplemented: boolplugin: boolsimd_ffi: boolstart: boolstructural_match: boolpanic_runtime: boolneeds_panic_runtime: booloptin_builtin_traits: boolstaged_api: boolno_core: boolbox_patterns: booldropck_parametricity: booldropck_eyepatch: boolcustom_attribute: boolrustc_attrs: boolnll: boolallow_internal_unstable: boolallow_internal_unsafe: boolslice_patterns: boolconst_fn: boolconst_fn_union: boolconst_raw_ptr_to_usize_cast: boolconst_raw_ptr_deref: boolconst_transmute: boolconst_compare_raw_pointers: boolconst_panic: boolprelude_import: booldefault_type_parameter_fallback: boolassociated_type_defaults: boolrepr_simd: boolplatform_intrinsics: boolunwind_attributes: boolnaked_functions: boolno_debug: boolomit_gdb_pretty_printer_section: boolstmt_expr_attributes: booltype_ascription: boolcfg_target_thread_local: boolabi_vectorcall: boolexclusive_range_pattern: boolspecialization: boolcfg_target_has_atomic: boolnever_type: boolexhaustive_patterns: booluntagged_unions: boolcompiler_builtins: boollink_cfg: boolabi_ptx: boolrepr128: boolffi_returns_twice: boolabi_unadjusted: booldecl_macro: boolstatic_nobundle: boolabi_msp430_interrupt: boolsanitizer_runtime: boolprofiler_runtime: boolabi_x86_interrupt: booltry_blocks: boolglobal_asm: booloverlapping_marker_traits: boolmarker_trait_attr: boolabi_thiscall: boolallow_fail: boolunsized_tuple_coercion: boolgenerators: booltrait_alias: boolallocator_internals: booldoc_cfg: booldoc_masked: booldoc_spotlight: boolexternal_doc: boolnon_exhaustive: boolcrate_visibility_modifier: boolextern_types: boolarbitrary_self_types: boolin_band_lifetimes: boolgeneric_associated_types: boolinfer_static_outlives_requirements: boolmacros_in_extern: boolexistential_type: 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: boolproc_macro_hygiene: booldoc_alias: booltrivial_bounds: boollabel_break_value: boolprecise_pointer_size_matching: booldoc_keyword: boolasync_await: boolalloc_error_handler: boolabi_amdgpu_kernel: booltest_2018_feature: 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: boolre_rebalance_coherence: 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> ToOwned for T where
T: Clone, [src]
T: Clone,
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> From for T[src]
impl<T, U> TryFrom 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> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto 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<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,