Struct gluon_vm::api::Generic[][src]

pub struct Generic<T>(_, _);

Trait Implementations

impl<T: PartialEq> PartialEq for Generic<T>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<T> Debug for Generic<T>
[src]

Formats the value using the given formatter. Read more

impl<T> From<Value> for Generic<T>
[src]

Performs the conversion.

impl<T: VmType> VmType for Generic<T>
[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 Generic<T>
[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 Generic<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

impl<T> Traverseable for Generic<T>
[src]

Auto Trait Implementations

impl<T> Send for Generic<T> where
    T: Send

impl<T> Sync for Generic<T> where
    T: Sync