codama-nodes 0.10.0

Node specifications and helpers for the Codama standard
Documentation
1
2
3
4
5
6
7
8
9
10
11
use codama_nodes_derive::node;

#[node]
#[derive(Copy, Default)]
pub struct ProgramIdValueNode {}

impl From<ProgramIdValueNode> for crate::Node {
    fn from(val: ProgramIdValueNode) -> Self {
        crate::Node::ContextualValue(val.into())
    }
}