pub type CrateCheckConfig = CheckCfg<Symbol>;

Aliased Type§

struct CrateCheckConfig {
    pub exhaustive_names: bool,
    pub exhaustive_values: bool,
    pub expecteds: HashMap<Symbol, ExpectedValues<Symbol>, BuildHasherDefault<FxHasher>>,
}

Fields§

§exhaustive_names: bool

Is well known names activated

§exhaustive_values: bool

Is well known values activated

§expecteds: HashMap<Symbol, ExpectedValues<Symbol>, BuildHasherDefault<FxHasher>>

All the expected values for a config name

Implementations§

source§

impl CrateCheckConfig

source

pub fn fill_well_known(&mut self, current_target: &Target)

source§

impl<T> CheckCfg<T>

source

fn map_data<O: Eq + Hash>(self, f: impl Fn(T) -> O) -> CheckCfg<O>

Trait Implementations§

source§

impl<T> Default for CheckCfg<T>

source§

fn default() -> Self

Returns the “default value” for a type. Read more

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