pub trait Importable: Sized {
// Required method
fn import() -> LuaResult<Self>;
}Expand description
types which can be imported from computer craft’s lua function call
i32, i64, f32, f64, String, (Importable, …), Option<Importable>, Vec<Importable> and some other types impled Importable
Required Methods§
Object Safety§
This trait is not object safe.