Skip to main content

FoundryCfg

Trait FoundryCfg 

Source
pub trait FoundryCfg:
    Cfg
    + Clone
    + Debug {
    type Spec: Into<SpecId> + Clone + Debug;
}
Expand description

Marker trait for Foundry’s [CfgEnv] type, abstracting Spec type.

Required Associated Types§

Source

type Spec: Into<SpecId> + Clone + Debug

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<SPEC: Into<SpecId> + Clone + Debug> FoundryCfg for CfgEnv<SPEC>

Source§

type Spec = SPEC

Implementors§