Skip to main content

FromExec

Trait FromExec 

Source
pub trait FromExec: Sized {
    // Required method
    fn from_exec(lua: &mut Lua<'_>) -> Result<Self, LuaError>;
}
Expand description

The result type produced by Lua::execute. Only () is supported, which is all authoscope requires.

Required Methods§

Source

fn from_exec(lua: &mut Lua<'_>) -> Result<Self, LuaError>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl FromExec for ()

Source§

fn from_exec(_lua: &mut Lua<'_>) -> Result<Self, LuaError>

Implementors§