Struct wast::RefType [−][src]
A reference type in a wasm module.
Fields
nullable: bool
heap: HeapType<'a>
Implementations
impl<'a> RefType<'a>
[src]
impl<'a> RefType<'a>
[src]pub fn func() -> Self
[src]
A funcref
as an abbreviation for (ref null func)
.
pub fn extern() -> Self
[src]
An externref
as an abbreviation for (ref null extern)
.
pub fn any() -> Self
[src]
An anyref
as an abbreviation for (ref null any)
.
pub fn eq() -> Self
[src]
An eqref
as an abbreviation for (ref null eq)
.
pub fn data() -> Self
[src]
An dataref
as an abbreviation for (ref null data)
.
pub fn i31() -> Self
[src]
An i31ref
as an abbreviation for (ref null i31)
.