pub trait Semantic: Sized {
type Output;
// Required methods
fn semantic(
self,
registry: &SemanticRegistry,
spec: NodeSpec,
) -> Self::Output;
fn semantic_in(self, cx: &App, spec: NodeSpec) -> Self::Output;
}Required Associated Types§
Required Methods§
fn semantic(self, registry: &SemanticRegistry, spec: NodeSpec) -> Self::Output
Sourcefn semantic_in(self, cx: &App, spec: NodeSpec) -> Self::Output
fn semantic_in(self, cx: &App, spec: NodeSpec) -> Self::Output
Registers into the global registry when installed. Platform accessibility remains active when a host opts out of test semantics.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".