#[repr(i32)]pub enum lua_Status {
LUA_OK = 0,
LUA_YIELD = 1,
LUA_ERRRUN = 2,
LUA_ERRSYNTAX = 3,
LUA_ERRMEM = 4,
LUA_ERRERR = 5,
LUA_BREAK = 6,
}Variants§
LUA_OK = 0
LUA_YIELD = 1
LUA_ERRRUN = 2
LUA_ERRSYNTAX = 3
LUA_ERRMEM = 4
LUA_ERRERR = 5
LUA_BREAK = 6
Implementations§
Source§impl lua_Status
impl lua_Status
pub const LUA_OK: lua_Status = lua_Status::LUA_OK
pub const LUA_YIELD: lua_Status = lua_Status::LUA_YIELD
pub const LUA_ERRRUN: lua_Status = lua_Status::LUA_ERRRUN
pub const LUA_ERRSYNTAX: lua_Status = lua_Status::LUA_ERRSYNTAX
pub const LUA_ERRMEM: lua_Status = lua_Status::LUA_ERRMEM
pub const LUA_ERRERR: lua_Status = lua_Status::LUA_ERRERR
pub const LUA_BREAK: lua_Status = lua_Status::LUA_BREAK
Trait Implementations§
Source§impl Clone for lua_Status
impl Clone for lua_Status
Source§fn clone(&self) -> lua_Status
fn clone(&self) -> lua_Status
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for lua_Status
Source§impl Debug for lua_Status
impl Debug for lua_Status
Source§impl Default for lua_Status
impl Default for lua_Status
impl Eq for lua_Status
Source§impl Hash for lua_Status
impl Hash for lua_Status
Source§impl PartialEq for lua_Status
impl PartialEq for lua_Status
Source§fn eq(&self, other: &lua_Status) -> bool
fn eq(&self, other: &lua_Status) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for lua_Status
Auto Trait Implementations§
impl Freeze for lua_Status
impl RefUnwindSafe for lua_Status
impl Send for lua_Status
impl Sync for lua_Status
impl Unpin for lua_Status
impl UnsafeUnpin for lua_Status
impl UnwindSafe for lua_Status
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