[][src]Crate genco

Re-exports

pub use self::csharp::Csharp;
pub use self::dart::Dart;
pub use self::go::Go;
pub use self::java::Java;
pub use self::js::JavaScript;
pub use self::python::Python;
pub use self::rust::Rust;

Modules

csharp

Specialization for Csharp code generation.

dart

Specialization for Dart code generation.

go

Specialization for Go code generation.

java

Specialization for Java code generation.

js

Specialization for JavaScript code generation.

python

Specialization for Python code generation.

rust

Specialization for Rust code generation.

swift

Specialization for Swift code generation.

Macros

nestedDeprecated

Helper macro to reduce boilerplate needed with nested token expressions.

pushDeprecated

Helper macro to reduce boilerplate needed with pushed token expressions.

quote
toksDeprecated

Helper macro to reduce boilerplate needed with nested token expressions.

Structs

Formatter

Formatter implementation for write types.

IoFmt

Facade for writing formatted strings to io::Write types.

Tokens

A set of tokens.

Enums

Cons

A managed string that permits immutable borrowing.

Element

A single element in a set of tokens.

ErasedElement

A type-erased variant of element, useful for constructing elements which are not associated with any specific customization.

Traits

Config

A trait that must be implemented for all custom configurations.

Custom

Trait that must be implemented by custom elements.

IntoTokens

Helper trait to convert something into tokens.

Quoted

Trait to convert types to quoted elements.

WriteTokens

Helper trait to write tokens immediately to containers.