Trait go_vm::types::AsPrimitive

source ·
pub trait AsPrimitive<T>where
    T: 'static,{
    // Required method
    fn as_(&self) -> T;
}

Required Methods§

source

fn as_(&self) -> T

Convert a value to another, using the as operator.

Implementors§