Trait Update

Source
pub trait Update<I, E: Entity<I>> {
    type Error;

    // Required method
    fn update(&mut self, entity: &E) -> Result<(), Self::Error>;
}
Expand description

Represents the ability to update the entity. This trait is used by custom storage implementations.

Required Associated Types§

Required Methods§

Source

fn update(&mut self, entity: &E) -> Result<(), Self::Error>

Implementors§