Skip to main content

Updatable

Trait Updatable 

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

Source

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".

Implementations on Foreign Types§

Source§

impl Updatable for Vec<Array>

Source§

impl<T1, T2> Updatable for (T1, T2)
where T1: Updatable, T2: Updatable,

Implementors§