Skip to main content

SceneSource

Trait SceneSource 

Source
pub trait SceneSource {
    // Required method
    fn semantic_scene(&self) -> SemanticScene;
}
Expand description

Anything that yields a SemanticScene from the graph — a Tauri command result wrapper, a SPARQL binding, or the offline stub. Lets UI code stay agnostic about whether the engine answered or a preview did.

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§