Type Alias rustc_session::config::opt::R

source ·
pub type R = RustcOptGroup;

Aliased Type§

struct R {
    pub apply: Box<dyn Fn(&mut Options) -> &mut Options, Global>,
    pub name: &'static str,
    pub stability: OptionStability,
}

Fields§

§apply: Box<dyn Fn(&mut Options) -> &mut Options, Global>§name: &'static str§stability: OptionStability

Implementations§

source§

impl RustcOptGroup

source

pub fn is_stable(&self) -> bool

source

pub fn stable<F>(name: &'static str, f: F) -> RustcOptGroupwhere F: Fn(&mut Options) -> &mut Options + 'static,

source

pub fn unstable<F>(name: &'static str, f: F) -> RustcOptGroupwhere F: Fn(&mut Options) -> &mut Options + 'static,

Layout§

Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.

Size: 40 bytes