Trait stabby::closure::Call0

source ·
pub trait Call0<O>: CallMut0<O> {
    // Required method
    extern "C" fn call(&self) -> O;
}
Expand description

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

Required Methods§

source

extern "C" fn call(&self) -> O

Call the function

Trait Implementations§

source§

impl<'stabby_vt_lt, O> CompoundVt for dyn Call0<O>

§

type Vt<StabbyNextVtable> = VTable<StabbyVtableCall0<O>, StabbyNextVtable>

An stabby-generated item for Call0

Implementors§

source§

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