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