Trait rune::module::FunctionKind

source ·
pub trait FunctionKind {
    // Required method
    fn is_async() -> bool;
}
Expand description

Denotes the kind of a function, allowing the Function trait to be implemented separately for plain and async functions.

Required Methods§

source

fn is_async() -> bool

Indicates if the function is async.

Object Safety§

This trait is not object safe.

Implementors§