Struct badtouch::structs::LuaMap
[−]
[src]
pub struct LuaMap(_);
Methods
impl LuaMap
[src]
pub fn new() -> LuaMap
[src]
pub fn insert<K: Into<String>, V: Into<AnyLuaValue>>(&mut self, k: K, v: V)
[src]
pub fn insert_str<K: Into<String>, V: Into<String>>(&mut self, k: K, v: V)
[src]
pub fn insert_num<K: Into<String>>(&mut self, k: K, v: f64)
[src]
ⓘImportant traits for IntoIter<K, V>pub fn into_iter(self) -> IntoIter<AnyHashableLuaValue, AnyLuaValue>
[src]
ⓘImportant traits for IntoIter<K, V>
Trait Implementations
impl Debug for LuaMap
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl From<HashMap<String, String>> for LuaMap
[src]
impl From<HashMap<AnyHashableLuaValue, AnyLuaValue>> for LuaMap
[src]
fn from(x: HashMap<AnyHashableLuaValue, AnyLuaValue>) -> LuaMap
[src]
Performs the conversion.
impl From<Vec<(AnyLuaValue, AnyLuaValue)>> for LuaMap
[src]
fn from(x: Vec<(AnyLuaValue, AnyLuaValue)>) -> LuaMap
[src]
Performs the conversion.
impl Into<HashMap<AnyHashableLuaValue, AnyLuaValue>> for LuaMap
[src]
fn into(self: LuaMap) -> HashMap<AnyHashableLuaValue, AnyLuaValue>
[src]
Performs the conversion.
impl Into<AnyLuaValue> for LuaMap
[src]
fn into(self: LuaMap) -> AnyLuaValue
[src]
Performs the conversion.