Enum gluon_vm::api::ValueRef
[−]
[src]
pub enum ValueRef<'a> { Byte(u8), Int(VmInt), Float(f64), String(&'a str), Data(Data<'a>), Tag(VmTag), Userdata(&'a Userdata), Internal, }
Variants
Byte(u8)
Int(VmInt)
Float(f64)
String(&'a str)
Data(Data<'a>)
Tag(VmTag)
Userdata(&'a Userdata)
Internal
Methods
impl<'a> ValueRef<'a>
[src]
Trait Implementations
impl<'a> Copy for ValueRef<'a>
[src]
impl<'a> Clone for ValueRef<'a>
[src]
fn clone(&self) -> ValueRef<'a>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'a> Debug for ValueRef<'a>
[src]
impl<'a, 'b> PartialEq<ValueRef<'b>> for ValueRef<'a>
[src]
fn eq(&self, other: &ValueRef) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.