[][src]Trait aspect::update::Update

pub trait Update<T> {
    fn update(_: T) -> T;
}

The trait Update allows a value to be updated while guaranteeing the return type is the same.

Required methods

fn update(_: T) -> T

Update a value

Loading content...

Implementors

impl<T, U: UpdateRef<T>> Update<T> for U[src]

Loading content...