rust

package
v0.0.0-...-0e43621 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 16, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const TemplatesPath = "templates/compage-template-rust"

TemplatesPath directory of template files

Variables

This section is empty.

Functions

func AddValuesToContext

func AddValuesToContext(ctx context.Context) context.Context

func Generate

func Generate(ctx context.Context) error

Generate generates rust specific code according to config passed

func GetRustTemplatesRootPath

func GetRustTemplatesRootPath() string

func Process

func Process(ctx context.Context) error

Types

type LRustNode

type LRustNode struct {
	*languages.LanguageNode
}

LRustNode language specific struct.

func (*LRustNode) FillDefaults

func (n *LRustNode) FillDefaults() error

FillDefaults constructor function

type Values

type Values struct {
	Values   *languages.Values
	RustNode *LRustNode
}

Directories

Path Synopsis
integrations

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL