pub trait IntoLua<'lua>: Sized {
// Required method
fn into_lua(self, lua: &'lua Lua) -> Result<Value<'lua>>;
}
Expand description
Trait for types convertible to Value
.
Required Methods§
Object Safety§
This trait is not object safe.
Implementations on Foreign Types§
source§impl<'lua, K: Eq + Hash + IntoLua<'lua>, V: IntoLua<'lua>, S: BuildHasher> IntoLua<'lua> for HashMap<K, V, S>
impl<'lua, K: Eq + Hash + IntoLua<'lua>, V: IntoLua<'lua>, S: BuildHasher> IntoLua<'lua> for HashMap<K, V, S>
Implementors§
impl<'lua> IntoLua<'lua> for &Value<'lua>
impl<'lua> IntoLua<'lua> for &AnyUserData<'lua>
impl<'lua> IntoLua<'lua> for &Function<'lua>
impl<'lua> IntoLua<'lua> for &OwnedAnyUserData
Available on crate feature
unstable
and non-crate feature send
only.impl<'lua> IntoLua<'lua> for &OwnedFunction
Available on crate feature
unstable
and non-crate feature send
only.impl<'lua> IntoLua<'lua> for &OwnedString
Available on crate feature
unstable
and non-crate feature send
only.impl<'lua> IntoLua<'lua> for &OwnedTable
Available on crate feature
unstable
and non-crate feature send
only.impl<'lua> IntoLua<'lua> for &OwnedThread
Available on crate feature
unstable
and non-crate feature send
only.impl<'lua> IntoLua<'lua> for &RegistryKey
impl<'lua> IntoLua<'lua> for &mlua::String<'lua>
impl<'lua> IntoLua<'lua> for &Table<'lua>
impl<'lua> IntoLua<'lua> for &Thread<'lua>
impl<'lua> IntoLua<'lua> for Error
impl<'lua> IntoLua<'lua> for Value<'lua>
impl<'lua> IntoLua<'lua> for AnyUserData<'lua>
impl<'lua> IntoLua<'lua> for Function<'lua>
impl<'lua> IntoLua<'lua> for LightUserData
impl<'lua> IntoLua<'lua> for OwnedAnyUserData
Available on crate feature
unstable
and non-crate feature send
only.impl<'lua> IntoLua<'lua> for OwnedFunction
Available on crate feature
unstable
and non-crate feature send
only.impl<'lua> IntoLua<'lua> for OwnedString
Available on crate feature
unstable
and non-crate feature send
only.impl<'lua> IntoLua<'lua> for OwnedTable
Available on crate feature
unstable
and non-crate feature send
only.impl<'lua> IntoLua<'lua> for OwnedThread
Available on crate feature
unstable
and non-crate feature send
only.