pub struct IterMap<K: ToLua, V: ToLua, I: Iterator<Item = (K, V)>>(pub I);Expand description
Represents an iterator will be converted to a lua table
Tuple Fields§
§0: ITrait Implementations§
Auto Trait Implementations§
impl<K, V, I> RefUnwindSafe for IterMap<K, V, I>where I: RefUnwindSafe,
impl<K, V, I> Send for IterMap<K, V, I>where I: Send,
impl<K, V, I> Sync for IterMap<K, V, I>where I: Sync,
impl<K, V, I> Unpin for IterMap<K, V, I>where I: Unpin,
impl<K, V, I> UnwindSafe for IterMap<K, V, I>where I: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> ToLuaMulti for Twhere
T: ToLua,
impl<T> ToLuaMulti for Twhere T: ToLua,
source§const VALUE_COUNT: Option<usize> = const VALUE_COUNT: Option<usize> = Some(1);
const VALUE_COUNT: Option<usize> = const VALUE_COUNT: Option<usize> = Some(1);
Count of values to be pushed to lua stack
source§fn push_multi(self, s: &State) -> Result<usize, Error>
fn push_multi(self, s: &State) -> Result<usize, Error>
Define how to push values onto lua stack
source§fn value_count(&self) -> Option<usize>
fn value_count(&self) -> Option<usize>
Get the count of values to be pushed to lua stack, with self instance