Trait oxi_luajit::Poppable

source ·
pub trait Poppable: Sized {
    // Required method
    unsafe fn pop(lua_state: *mut lua_State) -> Result<Self, Error>;
}
Expand description

Trait implemented for types that can be popped off the Lua stack.

Required Methods§

source

unsafe fn pop(lua_state: *mut lua_State) -> Result<Self, Error>

Pops the value at the top of the stack.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl Poppable for bool

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl Poppable for f32

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl Poppable for i8

source§

unsafe fn pop(lstate: *mut lua_State) -> Result<Self, Error>

source§

impl Poppable for i16

source§

unsafe fn pop(lstate: *mut lua_State) -> Result<Self, Error>

source§

impl Poppable for i32

source§

unsafe fn pop(lstate: *mut lua_State) -> Result<Self, Error>

source§

impl Poppable for i64

source§

unsafe fn pop(lstate: *mut lua_State) -> Result<Self, Error>

source§

impl Poppable for u8

source§

unsafe fn pop(lstate: *mut lua_State) -> Result<Self, Error>

source§

impl Poppable for u16

source§

unsafe fn pop(lstate: *mut lua_State) -> Result<Self, Error>

source§

impl Poppable for u32

source§

unsafe fn pop(lstate: *mut lua_State) -> Result<Self, Error>

source§

impl Poppable for u64

source§

unsafe fn pop(lstate: *mut lua_State) -> Result<Self, Error>

source§

impl Poppable for ()

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl Poppable for usize

source§

unsafe fn pop(lstate: *mut lua_State) -> Result<Self, Error>

source§

impl Poppable for String

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl<A> Poppable for (A,)
where A: Poppable,

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl<A, B> Poppable for (A, B)
where A: Poppable, B: Poppable,

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl<A, B, C> Poppable for (A, B, C)
where A: Poppable, B: Poppable, C: Poppable,

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl<A, B, C, D> Poppable for (A, B, C, D)
where A: Poppable, B: Poppable, C: Poppable, D: Poppable,

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl<A, B, C, D, E> Poppable for (A, B, C, D, E)
where A: Poppable, B: Poppable, C: Poppable, D: Poppable, E: Poppable,

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl<A, B, C, D, E, F> Poppable for (A, B, C, D, E, F)
where A: Poppable, B: Poppable, C: Poppable, D: Poppable, E: Poppable, F: Poppable,

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl<A, B, C, D, E, F, G> Poppable for (A, B, C, D, E, F, G)
where A: Poppable, B: Poppable, C: Poppable, D: Poppable, E: Poppable, F: Poppable, G: Poppable,

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl<A, B, C, D, E, F, G, H> Poppable for (A, B, C, D, E, F, G, H)
where A: Poppable, B: Poppable, C: Poppable, D: Poppable, E: Poppable, F: Poppable, G: Poppable, H: Poppable,

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl<A, B, C, D, E, F, G, H, I> Poppable for (A, B, C, D, E, F, G, H, I)
where A: Poppable, B: Poppable, C: Poppable, D: Poppable, E: Poppable, F: Poppable, G: Poppable, H: Poppable, I: Poppable,

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl<A, B, C, D, E, F, G, H, I, J> Poppable for (A, B, C, D, E, F, G, H, I, J)
where A: Poppable, B: Poppable, C: Poppable, D: Poppable, E: Poppable, F: Poppable, G: Poppable, H: Poppable, I: Poppable, J: Poppable,

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl<A, B, C, D, E, F, G, H, I, J, K> Poppable for (A, B, C, D, E, F, G, H, I, J, K)
where A: Poppable, B: Poppable, C: Poppable, D: Poppable, E: Poppable, F: Poppable, G: Poppable, H: Poppable, I: Poppable, J: Poppable, K: Poppable,

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L> Poppable for (A, B, C, D, E, F, G, H, I, J, K, L)
where A: Poppable, B: Poppable, C: Poppable, D: Poppable, E: Poppable, F: Poppable, G: Poppable, H: Poppable, I: Poppable, J: Poppable, K: Poppable, L: Poppable,

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M> Poppable for (A, B, C, D, E, F, G, H, I, J, K, L, M)
where A: Poppable, B: Poppable, C: Poppable, D: Poppable, E: Poppable, F: Poppable, G: Poppable, H: Poppable, I: Poppable, J: Poppable, K: Poppable, L: Poppable, M: Poppable,

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N> Poppable for (A, B, C, D, E, F, G, H, I, J, K, L, M, N)
where A: Poppable, B: Poppable, C: Poppable, D: Poppable, E: Poppable, F: Poppable, G: Poppable, H: Poppable, I: Poppable, J: Poppable, K: Poppable, L: Poppable, M: Poppable, N: Poppable,

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O> Poppable for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)
where A: Poppable, B: Poppable, C: Poppable, D: Poppable, E: Poppable, F: Poppable, G: Poppable, H: Poppable, I: Poppable, J: Poppable, K: Poppable, L: Poppable, M: Poppable, N: Poppable, O: Poppable,

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl<A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P> Poppable for (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl<K, V> Poppable for HashMap<K, V>
where K: Poppable + Eq + Hash, V: Poppable,

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl<T> Poppable for Option<T>
where T: Poppable,

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

source§

impl<T> Poppable for Vec<T>
where T: Poppable,

source§

unsafe fn pop(state: *mut lua_State) -> Result<Self, Error>

Implementors§