Struct reproto_backend_swift::SwiftLang
[−]
[src]
pub struct SwiftLang;
Trait Implementations
impl Clone for SwiftLang
[src]
fn clone(&self) -> SwiftLang
[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 SwiftLang
[src]
impl Default for SwiftLang
[src]
impl Debug for SwiftLang
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Lang for SwiftLang
[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 package_naming(&self) -> Option<Box<Naming>>
[src]
Rename packages according to the given naming convention.
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.