Skip to main content

Crate webots_proto_schema

Crate webots_proto_schema 

Source

Re-exports§

pub use error::Error;
pub use error::Result;

Modules§

error
macros
r2025a
types

Macros§

define_device
Defines a struct representing a Webots Device node. Includes standard Device fields (name, model, description).
define_motor
Defines a struct representing a Webots Motor node (or descendent). Includes Device fields and standard Motor fields.
define_node
Defines a struct representing a generic Webots node.
define_solid
Defines a struct representing a Webots Solid node. Includes standard Solid fields (pose, physics, boundingObject) AND Device fields.
map_field_type
Maps a Rust type to a Webots FieldType.

Structs§

Diagnostic
A diagnostic message with location information.
DiagnosticSet
A collection of diagnostics.
NodeSchema
A Webots node schema.
SchemaField
A Webots node schema field definition.
ValidationContext
Validation context to track DEF/USE and interface fields.

Enums§

Severity
The severity of a diagnostic.

Functions§

ast_to_r2025a_node
r2025a_node_to_ast
validate
validate_runtime_semantics