Function fromValtype [src]

Prototype

pub fn fromValtype(valtype: Valtype) BlockType

Parameters

valtype: Valtype

Source

pub fn fromValtype(valtype: Valtype) BlockType { return @enumFromInt(@intFromEnum(valtype)); }