Checks if a storage location is in an undefined state.
unsafe fn is_undef(val: *const Self, n: usize) -> bool
| Name | Description |
|---|---|
| val | A storage location suitable to hold an object of type |
| n | The id of the undefined state. |
This function behaves as follows:
If n is greater than or equal to Self::num(), the process is aborted.
If the storage location contains an object of type Self, false is returned.
If the storage location is in the undefined state m != n, false is returned.
If the storage location is in the undefined state n, true is returned.