webots-proto-template 0.1.2

Template evaluation for Webots PROTO documents.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use boa_engine::JsValue;
use boa_gc::{Finalize, Trace};

// Placeholder for field mapping logic
#[derive(Debug, Trace, Finalize)]
pub struct ProtoField {
    pub value: JsValue,
}

impl ProtoField {
    pub fn new(value: JsValue) -> Self {
        Self { value }
    }
}