Trait gear_common::storage::TransposeCallback

source ·
pub trait TransposeCallback<T, R> {
    // Required method
    fn call(arg: T) -> R;
}
Expand description

Represents transposing callback for mutating values.

Required Methods§

source

fn call(arg: T) -> R

Returns value by callback’s logic.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> TransposeCallback<T, T> for ()

source§

fn call(arg: T) -> T

Implementors§