Function fromValtype [src]
Prototype
pub fn fromValtype(valtype: Valtype) BlockType
Parameters
valtype: Valtype
Source
pub fn fromValtype(valtype: Valtype) BlockType {
return @enumFromInt(@intFromEnum(valtype));
}
pub fn fromValtype(valtype: Valtype) BlockType
valtype: Valtype
pub fn fromValtype(valtype: Valtype) BlockType {
return @enumFromInt(@intFromEnum(valtype));
}