Skip to main content

SemanticsAdapter

Trait SemanticsAdapter 

Source
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§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§