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

pub struct LuaMap(_);

Implementations

impl LuaMap[src]

pub fn new() -> LuaMap[src]

pub fn is_empty(&self) -> bool[src]

pub fn insert<K, V>(&mut self, k: K, v: V) where
    V: Into<AnyLuaValue>,
    K: Into<String>, 
[src]

pub fn insert_str<K, V>(&mut self, k: K, v: V) where
    V: Into<String>,
    K: Into<String>, 
[src]

pub fn insert_num<K>(&mut self, k: K, v: f64) where
    K: Into<String>, 
[src]

pub fn insert_serde<K, S>(&mut self, k: K, v: S) -> Result<(), Error> where
    S: Serialize,
    K: Into<String>, 
[src]

Trait Implementations

impl Debug for LuaMap[src]

impl Default for LuaMap[src]

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

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

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

impl Into<AnyLuaValue> for LuaMap[src]

impl Into<HashMap<AnyHashableLuaValue, AnyLuaValue, RandomState>> 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?

Auto Trait Implementations

impl RefUnwindSafe for LuaMap

impl Send for LuaMap

impl Sync for LuaMap

impl Unpin for LuaMap

impl UnwindSafe for LuaMap

Blanket Implementations

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

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

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

impl<T> Conv for T

impl<T> Conv for T

impl<T> FmtForward for T

impl<T> From<T> for T[src]

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

impl<T> IntoSql for T[src]

impl<T> Pipe for T where
    T: ?Sized

impl<T> Pipe for T

impl<T> PipeAsRef for T

impl<T> PipeBorrow for T

impl<T> PipeDeref for T

impl<T> PipeRef for T

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> Tap for T

impl<T> Tap for T

impl<T, U> TapAsRef<U> for T where
    U: ?Sized

impl<T, U> TapBorrow<U> for T where
    U: ?Sized

impl<T> TapDeref for T

impl<T> TryConv for T

impl<T> TryConv for T

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,