Operator explicit operator
explicit operator NullablePointerReadOnly(NullablePersistentFunctionPointer)
Converts a NullablePersistentFunctionPointer to a NullablePointerReadOnly.
Declaration
public static explicit operator NullablePointerReadOnly(NullablePersistentFunctionPointer pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| NullablePersistentFunctionPointer | pointer | The NullablePersistentFunctionPointer to convert. |
Returns
| Type | Description |
|---|---|
| NullablePointerReadOnly | A NullablePointerReadOnly pointing to the target that's the same target function as the specified NullablePersistentFunctionPointer, reinterpreted as data. |
explicit operator NullablePersistentPointerReadOnly(NullablePersistentFunctionPointer)
Converts a NullablePersistentFunctionPointer to a NullablePersistentPointerReadOnly.
Declaration
public static explicit operator NullablePersistentPointerReadOnly(NullablePersistentFunctionPointer pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| NullablePersistentFunctionPointer | pointer | The NullablePersistentFunctionPointer to convert. |
Returns
| Type | Description |
|---|---|
| NullablePersistentPointerReadOnly | A NullablePersistentPointerReadOnly pointing to the target that's the same target function as the specified NullablePersistentFunctionPointer, reinterpreted as data. |