pub struct WaymarkSimSemantics {
pub tag_registry: TagRegistry,
pub function_registry: FunctionRegistry,
pub heuristic_engine: HeuristicEngine,
pub preset_registry: PresetRegistry,
pub template_registry: TemplateRegistry,
pub transition_registry: TransitionRegistry,
pub topology_tree: TopologyTree,
}Expand description
Waymark Simulation Semantics — unified entry point for semantic resolution.
Fields§
§tag_registry: TagRegistry§function_registry: FunctionRegistry§heuristic_engine: HeuristicEngine§preset_registry: PresetRegistry§template_registry: TemplateRegistry§transition_registry: TransitionRegistry§topology_tree: TopologyTreeImplementations§
Source§impl WaymarkSimSemantics
impl WaymarkSimSemantics
pub fn new() -> Self
pub fn with_builtins() -> Self
pub fn from_pack(pack: &DreamwellPackV1) -> Result<Self, Vec<WaymarkError>>
pub fn validate_tag(&self, name: &str) -> Result<(), WaymarkError>
pub fn validate_signal(&self, name: &str) -> Result<(), WaymarkError>
pub fn validate_receiver(&self, name: &str) -> Result<(), WaymarkError>
pub fn validate_function(&self, key: &str) -> Result<(), WaymarkError>
pub fn validate_semantic_binding( &self, binding: &SemanticBinding, ) -> Vec<WaymarkError>
pub fn resolve_property( &self, node_id: &str, key: &str, ) -> Option<PropertyValue>
pub fn resolve_property_with_default( &self, node_id: &str, key: &str, ) -> PropertyValue
pub fn validate_all(&self) -> ValidationReport
pub fn apply_template( &mut self, node_id: &str, template_id: &str, ) -> Result<(), WaymarkError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WaymarkSimSemantics
impl RefUnwindSafe for WaymarkSimSemantics
impl Send for WaymarkSimSemantics
impl Sync for WaymarkSimSemantics
impl Unpin for WaymarkSimSemantics
impl UnsafeUnpin for WaymarkSimSemantics
impl UnwindSafe for WaymarkSimSemantics
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more