pub trait CodeGenerationTarget {
// Required methods
fn name() -> String;
fn version() -> VersionReq;
fn extension() -> String;
}Required Methods§
Sourcefn version() -> VersionReq
fn version() -> VersionReq
Returns the version requirements of the language (for example: >=1.0.0).
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.