rust

package
v1.2.2-0...-301a9f9 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const TemplateDirectoryName = "compage-template-rust"

TemplateDirectoryName 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