pub trait Landscape2DPayloadSource {
// Required method
fn landscape2d_snapshot(&self) -> Landscape2DSnapshot;
}Expand description
Producer-side trait. An env implements this when it wants its
recording to ship a FamilyPayload::Landscape2D instead of Ascii.
Required Methods§
Sourcefn landscape2d_snapshot(&self) -> Landscape2DSnapshot
fn landscape2d_snapshot(&self) -> Landscape2DSnapshot
Returns a Landscape2DSnapshot capturing the current frame.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".