pub enum LuaReturnValue {
Boolean(bool),
Integer(i64),
Number(f64),
String(String),
}Expand description
Scalar value projected from a completed Lua invocation.
The executor only constructs Self::Number for finite values. Constructing
this public data enum directly does not grant script execution authority.
Variants§
Trait Implementations§
Source§impl Clone for LuaReturnValue
impl Clone for LuaReturnValue
Source§fn clone(&self) -> LuaReturnValue
fn clone(&self) -> LuaReturnValue
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 moreSource§impl Debug for LuaReturnValue
impl Debug for LuaReturnValue
Source§impl PartialEq for LuaReturnValue
impl PartialEq for LuaReturnValue
impl StructuralPartialEq for LuaReturnValue
Auto Trait Implementations§
impl Freeze for LuaReturnValue
impl RefUnwindSafe for LuaReturnValue
impl Send for LuaReturnValue
impl Sync for LuaReturnValue
impl Unpin for LuaReturnValue
impl UnsafeUnpin for LuaReturnValue
impl UnwindSafe for LuaReturnValue
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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