Struct gluon_vm::api::Array [] [src]

pub struct Array<'vm, T>(_, _);

Type which represents an array

Methods

impl<'vm, T> Array<'vm, T>
[src]

impl<'vm, T: for<'vm2> Getable<'vm2>> Array<'vm, T>
[src]

Trait Implementations

impl<'vm, T: VmType> VmType for Array<'vm, T> where
    T::Type: Sized
[src]

A version of Self which implements Any allowing a TypeId to be retrieved

Creates an gluon type which maps to Self in rust

How many extra arguments a function returning this type requires. Used for abstract types which when used in return position should act like they still need more arguments before they are called Read more

impl<'vm, T: VmType> Pushable<'vm> for Array<'vm, T> where
    T::Type: Sized
[src]

Pushes self to stack. If the call is successful a single element should have been added to the stack and Ok(()) should be returned. If the call is unsuccessful Status:Error should be returned and the stack should be left intact Read more

impl<'vm, T> Getable<'vm> for Array<'vm, T>
[src]

unsafe version of from_value which allows references to the internal of GcPtr's to be extracted if value is rooted Read more