Construct a new reference type.
(is_nullable: bool, heap_type: HeapType)
| 517 | |
| 518 | /// Construct a new reference type. |
| 519 | pub fn new(is_nullable: bool, heap_type: HeapType) -> RefType { |
| 520 | RefType { |
| 521 | is_nullable, |
| 522 | heap_type, |
| 523 | } |
| 524 | } |
| 525 | |
| 526 | /// Can this type of reference be null? |
| 527 | pub fn is_nullable(&self) -> bool { |
nothing calls this directly
no test coverage detected