Skip to main content

Update

Trait Update 

Source
pub trait Update<T> {
    type Output;

    // Required method
    fn update(&mut self, input: T) -> Self::Output;
}

Required Associated Types§

Required Methods§

Source

fn update(&mut self, input: T) -> Self::Output

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§