Allows a LanguageFn to be passed around and create multiple languages since Language::new consumes a LanguageFn LanguageFn just wraps a function pointer, which already conforms to Copy so this is a simple addition. |
||
|---|---|---|
| .. | ||
| Cargo.toml | ||
| language.rs | ||
Allows a LanguageFn to be passed around and create multiple languages since Language::new consumes a LanguageFn LanguageFn just wraps a function pointer, which already conforms to Copy so this is a simple addition. |
||
|---|---|---|
| .. | ||
| Cargo.toml | ||
| language.rs | ||