Trait LuaInsertToNew
sn0int::models
pub trait LuaInsertToNew { type Target; fn lua_try_into_new(self, state: &Arc<dyn State>) -> Result<Self::Target>; }
type Target
fn lua_try_into_new(self, state: &Arc<dyn State>) -> Result<Self::Target>
impl LuaInsertToNew for InsertImage
type Target = NewImage
fn lua_try_into_new(self, state: &Arc<dyn State>) -> Result<NewImage>
impl<T: InsertToNew> LuaInsertToNew for T
type Target = T::Target
fn lua_try_into_new(self, _state: &Arc<dyn State>) -> Result<Self::Target>