Struct gluon_vm::Variants [−][src]
pub struct Variants<'a>(_, _);
Methods
impl<'a> Variants<'a>[src]
impl<'a> Variants<'a>pub unsafe fn new(value: &Value) -> Variants[src]
pub unsafe fn new(value: &Value) -> VariantsCreates a new Variants value which assumes that value is rooted for the lifetime of the
value
pub fn as_ref(&self) -> ValueRef<'a>[src]
pub fn as_ref(&self) -> ValueRef<'a>Returns an instance of ValueRef which allows users to safely retrieve the interals of a
value
Trait Implementations
impl<'a> StackPrimitive for Variants<'a>[src]
impl<'a> StackPrimitive for Variants<'a>impl<'a> Copy for Variants<'a>[src]
impl<'a> Copy for Variants<'a>impl<'a> Clone for Variants<'a>[src]
impl<'a> Clone for Variants<'a>fn clone(&self) -> Variants<'a>[src]
fn clone(&self) -> Variants<'a>Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl<'a> Debug for Variants<'a>[src]
impl<'a> Debug for Variants<'a>fn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<'a> PartialEq for Variants<'a>[src]
impl<'a> PartialEq for Variants<'a>