Struct purua::state::Registry [−][src]
Fields
array: Vec<Value>
top: usize
max_size: usize
Implementations
impl Registry
[src]
impl Registry
[src]array: Vec<Value>
top: usize
max_size: usize
impl Registry
[src]pub fn push(&mut self, value: Value) -> usize
[src]pub fn last(&self) -> Option<&Value>
[src]pub fn pop(&mut self) -> Option<Value>
[src]pub fn ensure_pop(&mut self) -> Result<Value, LuaError>
[src]pub fn to_int(&self, pos: usize) -> Result<i64, LuaError>
[src]pub fn to_string(&self, pos: usize) -> Result<String, LuaError>
[src]pub fn to_value(&self, pos: usize) -> Result<Value, LuaError>
[src]impl !RefUnwindSafe for Registry
impl !Send for Registry
impl !Sync for Registry
impl Unpin for Registry
impl !UnwindSafe for Registry