[][src]Struct sn0int::engine::structs::LuaMap

pub struct LuaMap(_);

Methods

impl LuaMap
[src]

pub fn new() -> LuaMap
[src]

pub fn is_empty(&self) -> bool
[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]

Trait Implementations

impl From<HashMap<String, String, RandomState>> for LuaMap
[src]

impl From<HashMap<AnyHashableLuaValue, AnyLuaValue, RandomState>> for LuaMap
[src]

impl From<Vec<(AnyLuaValue, AnyLuaValue)>> for LuaMap
[src]

impl IntoIterator for LuaMap
[src]

type Item = (AnyHashableLuaValue, AnyLuaValue)

The type of the elements being iterated over.

type IntoIter = IntoIter<AnyHashableLuaValue, AnyLuaValue>

Which kind of iterator are we turning this into?

impl Into<HashMap<AnyHashableLuaValue, AnyLuaValue, RandomState>> for LuaMap
[src]

impl Into<AnyLuaValue> for LuaMap
[src]

impl Default for LuaMap
[src]

impl Debug for LuaMap
[src]

Auto Trait Implementations

impl Send for LuaMap

impl Sync for LuaMap

Blanket Implementations

impl<T> From for T
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> IntoSql for T
[src]

fn into_sql<T>(self) -> Self::Expression where
    Self: AsExpression<T>, 
[src]

Convert self to an expression for Diesel's query builder. Read more

fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
    &'a Self: AsExpression<T>, 
[src]

Convert &self to an expression for Diesel's query builder. Read more

impl<T> Erased for T