pub trait Updatable {
// Required method
fn state_projection(
&mut self,
) -> Result<StateProjection<'_>, StateProjectionError>;
}Expand description
A type whose mutable arrays are declared by one keyed projection.
Required Methods§
Sourcefn state_projection(
&mut self,
) -> Result<StateProjection<'_>, StateProjectionError>
fn state_projection( &mut self, ) -> Result<StateProjection<'_>, StateProjectionError>
Declare all required and optional state slots.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".