Crate crustal

Source
Expand description

§Cgen Rust Library

The Cgen Rust library provides a builder API for generating C code.

Structs§

Attribute
Defines a C++ class attribute (data member)
Block
defines the scope of the generated C code
Class
Defines a C++ class
Comment
defines a comment block
Constructor
holds a method definition
Destructor
DoWhileLoop
Doc
Documentation.
Enum
Defines a C enum.
Field
Defines an struct field
ForLoop
Function
defines a C function
FunctionParam
Defines a function parameter
IfDef
defines a comment block
IfElse
Include
Defines an struct field
Macro
Defines an struct field
Method
holds a method definition
MethodParam
Defines an struct field
Scope
defines the scope of the generated C code
Struct
defines a struct
Switch
Type
The Type corresponds to a full type. This is a base type with modifiers.
Union
defines a union
Variable
Defines an struct field
Variant
Defines an enumeration variant
WhileLoop

Enums§

BaseType
Represents a base type in C/C++.
Expr
Defines an statement
Visibility
Represents the visibility for C++ class members