Struct reproto_backend_rust::RustLang
[−]
[src]
pub struct RustLang;
Trait Implementations
impl Clone for RustLang[src]
fn clone(&self) -> RustLang[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for RustLang[src]
impl Default for RustLang[src]
impl Debug for RustLang[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result[src]
Formats the value using the given formatter. Read more
impl Lang for RustLang[src]
fn copy(&self) -> Box<Lang>
Copy self. Read more
fn module_specs(
&self,
path: &Path,
input: Option<Value>
) -> Result<Vec<Box<Any>>>
&self,
path: &Path,
input: Option<Value>
) -> Result<Vec<Box<Any>>>
Module specs.
fn string_spec(&self, path: &Path, input: &str) -> Result<Box<Any>>
Parse a module configuration consisting of only a string. Read more
fn compile(
&self,
ctx: Rc<Context>,
env: Environment,
manifest: Manifest
) -> Result<()>
&self,
ctx: Rc<Context>,
env: Environment,
manifest: Manifest
) -> Result<()>
Language-specific compile hook. Read more
fn comment(&self, input: &str) -> Option<String>[src]
Comment the given string.
fn keywords(&self) -> Vec<(&'static str, &'static str)>[src]
Get a list of keywords to transliterate.
fn safe_packages(&self) -> bool[src]
Indicates if the language requires keyword-escaping in the packages.
fn into_env(
&self,
ctx: Rc<Context>,
package_prefix: Option<RpPackage>,
resolver: Box<Resolver + 'static>
) -> Environment[src]
&self,
ctx: Rc<Context>,
package_prefix: Option<RpPackage>,
resolver: Box<Resolver + 'static>
) -> Environment
Helper to convert into environment.
fn package_naming(&self) -> Option<Box<Naming + 'static>>[src]
Rename packages according to the given naming convention.
fn field_ident_naming(&self) -> Option<Box<Naming + 'static>>[src]
Rename fields according to the given naming convention.