pub enum BytecodeFunctionConstant<'table> {
Nil,
Boolean(bool),
Number(f64),
Vector(BytecodeVector),
VectorDouble(BytecodeVectorDouble),
String(&'table [u8]),
Import(u32),
TableIndex(u32),
Closure(u32),
Integer(i64),
ClassIndex(u32),
}Variants§
Nil
Boolean(bool)
Number(f64)
Vector(BytecodeVector)
VectorDouble(BytecodeVectorDouble)
String(&'table [u8])
Import(u32)
TableIndex(u32)
Closure(u32)
Integer(i64)
ClassIndex(u32)
Trait Implementations§
Source§impl<'table> Clone for BytecodeFunctionConstant<'table>
impl<'table> Clone for BytecodeFunctionConstant<'table>
Source§fn clone(&self) -> BytecodeFunctionConstant<'table>
fn clone(&self) -> BytecodeFunctionConstant<'table>
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<'table> Debug for BytecodeFunctionConstant<'table>
impl<'table> Debug for BytecodeFunctionConstant<'table>
Source§impl<'table> PartialEq for BytecodeFunctionConstant<'table>
impl<'table> PartialEq for BytecodeFunctionConstant<'table>
impl<'table> StructuralPartialEq for BytecodeFunctionConstant<'table>
Auto Trait Implementations§
impl<'table> Freeze for BytecodeFunctionConstant<'table>
impl<'table> RefUnwindSafe for BytecodeFunctionConstant<'table>
impl<'table> Send for BytecodeFunctionConstant<'table>
impl<'table> Sync for BytecodeFunctionConstant<'table>
impl<'table> Unpin for BytecodeFunctionConstant<'table>
impl<'table> UnsafeUnpin for BytecodeFunctionConstant<'table>
impl<'table> UnwindSafe for BytecodeFunctionConstant<'table>
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