foundry_compilers::compilers

Trait Language

source
pub trait Language:
    Hash
    + Eq
    + Copy
    + Clone
    + Debug
    + Display
    + Send
    + Sync
    + Serialize
    + DeserializeOwned
    + 'static {
    const FILE_EXTENSIONS: &'static [&'static str];
}
Expand description

Keeps a set of languages recognized by the compiler.

Required Associated Constants§

source

const FILE_EXTENSIONS: &'static [&'static str]

Extensions of source files recognized by the language set.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Language for MultiCompilerLanguage

source§

const FILE_EXTENSIONS: &'static [&'static str] = _

source§

impl Language for SolcLanguage

source§

const FILE_EXTENSIONS: &'static [&'static str] = SOLC_EXTENSIONS

source§

impl Language for VyperLanguage

source§

const FILE_EXTENSIONS: &'static [&'static str] = VYPER_EXTENSIONS