TransposeCallback

Trait 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.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

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

Source§

fn call(arg: T) -> T

Implementors§