pub trait SemanticsAdapter {
// Required methods
fn publish(&mut self, snapshot: SemanticsSnapshot);
fn poll_action(&mut self) -> Option<SemanticActionRequest>;
}Expand description
Small platform-neutral testing seam retained from the previous adapter API.
Required Methods§
fn publish(&mut self, snapshot: SemanticsSnapshot)
fn poll_action(&mut self) -> Option<SemanticActionRequest>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".