Trait stabby::closure::Call1

source ·
pub trait Call1<O, I0>: CallMut1<O, I0> {
    // Required method
    extern "C" fn call(&self, _0: I0) -> O;
}
Expand description

core::ops::Fn, but ABI-stable

Required Methods§

source

extern "C" fn call(&self, _0: I0) -> O

Call the function

Trait Implementations§

source§

impl<'stabby_vt_lt, O, I0> CompoundVt for dyn Call1<O, I0>

§

type Vt<StabbyNextVtable> = VTable<StabbyVtableCall1<O, I0>, StabbyNextVtable>

An stabby-generated item for Call1

Implementors§

source§

impl<O, I0, F> Call1<O, I0> for F
where F: Fn(I0) -> O,