Skip to main content

Update

Trait Update 

Source
pub trait Update {
    type Input: Input;

    // Required method
    fn update(&mut self, changes: Self::Input) -> Result<()>;
}

Required Associated Types§

Required Methods§

Source

fn update(&mut self, changes: Self::Input) -> Result<()>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§