Struct gluon_vm::Variants [] [src]

pub struct Variants<'a>(_);

Methods

impl<'a> Variants<'a>
[src]

unsafe fn new(value: &Value) -> Variants

Creates a new Variants value which assumes that value is alive for the lifetime of the value

fn as_ref(&self) -> ValueRef

Returns an instance of ValueRef which allows users to safely retrieve the interals of a value

Trait Implementations

impl<'a> Debug for Variants<'a>
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.