pub trait GridPayloadSource {
// Required method
fn grid_snapshot(&self) -> GridSnapshot;
}Expand description
Producer-side trait. A grid env implements this so its recording ships
a FamilyPayload::Grid rendered from structured tile state instead of
Ascii text.
Required Methods§
Sourcefn grid_snapshot(&self) -> GridSnapshot
fn grid_snapshot(&self) -> GridSnapshot
Returns a GridSnapshot capturing the current frame.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".