Trait rlua::FromLua
[−]
[src]
pub trait FromLua<'a>: Sized { fn from_lua(lua_value: Value<'a>, lua: &'a Lua) -> Result<Self>; }
Trait for types convertible from Value
.
Required Methods
Implementors
impl<'lua> FromLua<'lua> for Value<'lua>
impl<'lua> FromLua<'lua> for String<'lua>
impl<'lua> FromLua<'lua> for Table<'lua>
impl<'lua> FromLua<'lua> for Function<'lua>
impl<'lua> FromLua<'lua> for Thread<'lua>
impl<'lua> FromLua<'lua> for AnyUserData<'lua>
impl<'lua, T: UserData + Clone> FromLua<'lua> for T
impl<'lua> FromLua<'lua> for Error
impl<'lua> FromLua<'lua> for bool
impl<'lua> FromLua<'lua> for LightUserData
impl<'lua> FromLua<'lua> for StdString
impl<'lua> FromLua<'lua> for i8
impl<'lua> FromLua<'lua> for u8
impl<'lua> FromLua<'lua> for i16
impl<'lua> FromLua<'lua> for u16
impl<'lua> FromLua<'lua> for i32
impl<'lua> FromLua<'lua> for u32
impl<'lua> FromLua<'lua> for i64
impl<'lua> FromLua<'lua> for u64
impl<'lua> FromLua<'lua> for isize
impl<'lua> FromLua<'lua> for usize
impl<'lua> FromLua<'lua> for f32
impl<'lua> FromLua<'lua> for f64
impl<'lua, T: FromLua<'lua>> FromLua<'lua> for Vec<T>
impl<'lua, K: Eq + Hash + FromLua<'lua>, V: FromLua<'lua>> FromLua<'lua> for HashMap<K, V>
impl<'lua, K: Ord + FromLua<'lua>, V: FromLua<'lua>> FromLua<'lua> for BTreeMap<K, V>
impl<'lua, T: FromLua<'lua>> FromLua<'lua> for Option<T>