Add Options associated type
This commit is contained in:
@@ -174,6 +174,7 @@ fn stage_names() -> Vec<&'static str> {
|
|||||||
|
|
||||||
|
|
||||||
impl ProgrammingLanguageInterface for Schala {
|
impl ProgrammingLanguageInterface for Schala {
|
||||||
|
type Options = ();
|
||||||
fn language_name() -> String {
|
fn language_name() -> String {
|
||||||
"Schala".to_owned()
|
"Schala".to_owned()
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ use std::collections::HashSet;
|
|||||||
use std::time;
|
use std::time;
|
||||||
|
|
||||||
pub trait ProgrammingLanguageInterface {
|
pub trait ProgrammingLanguageInterface {
|
||||||
|
type Options;
|
||||||
fn language_name() -> String;
|
fn language_name() -> String;
|
||||||
fn source_file_suffix() -> String;
|
fn source_file_suffix() -> String;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user