Project

EarthSciAST

The EarthSciML Abstract Syntax Tree format: schema, operators, coupling, and five language bindings.

Contents

This is the documentation for the older version v0.16.0. For the latest release, see v0.17.0.

coupling_role

Stable type · Document types

Tier: stable · Kind: type · Topic: Document types

JuliaTypeScriptPythonRustGo
not exportednot exportednot exportedCouplingRoleCouplingRole

Julia

Julia does not export this type.

TypeScript

TypeScript does not export this type.

Python

Python does not export this type.

Rust

pub struct CouplingRole {
    pub description: Option<String>,
}

A coupling-library formal component role (esm-spec §10.9). Present only in a coupling-library file’s top-level coupling_roles map; each entry carries an optional human-readable description. Roles are formal parameters (names, not types), bound to actual components at a coupling_import.

Source · Rust docs

Go

type CouplingRole struct {
	Description *string `json:"description,omitempty"`
}

CouplingRole is one entry in a coupling-library file’s coupling_roles map (esm-spec §10.9): a formal component role (a name, not a type), carrying an optional human-readable description. Roles are bound to actual components at a coupling_import (esm-spec §10.10).

Source · Go docs