Trait Update
aspect::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.
Update
fn update(_: T) -> T
Update a value
impl<T, U: UpdateRef<T>> Update<T> for U
fn update(t: T) -> T