Operator implicit operator
implicit operator Pointer(Pointer<T>)
Converts a Pointer<T> to a Pointer.
Declaration
public static implicit operator Pointer(Pointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| Pointer<T> | pointer | The Pointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| Pointer | A Pointer pointing to the same target as the specified Pointer<T>. |
implicit operator PointerReadOnly(Pointer<T>)
Converts a Pointer<T> to a PointerReadOnly.
Declaration
public static implicit operator PointerReadOnly(Pointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| Pointer<T> | pointer | The Pointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| PointerReadOnly | A PointerReadOnly pointing to the same target as the specified Pointer<T>. |
implicit operator PointerReadOnly<T>(Pointer<T>)
Converts a Pointer<T> to a PointerReadOnly<T>.
Declaration
public static implicit operator PointerReadOnly<T>(Pointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| Pointer<T> | pointer | The Pointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| PointerReadOnly<T> | A PointerReadOnly<T> pointing to the same target as the specified Pointer<T>. |
implicit operator PointerUninitialized(Pointer<T>)
Converts a Pointer<T> to a PointerUninitialized.
Declaration
public static implicit operator PointerUninitialized(Pointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| Pointer<T> | pointer | The Pointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| PointerUninitialized | A PointerUninitialized pointing to the same target as the specified Pointer<T>. |
implicit operator PointerUninitialized<T>(Pointer<T>)
Converts a Pointer<T> to a PointerUninitialized<T>.
Declaration
public static implicit operator PointerUninitialized<T>(Pointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| Pointer<T> | pointer | The Pointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| PointerUninitialized<T> | A PointerUninitialized<T> pointing to the same target as the specified Pointer<T>. |
implicit operator NullablePointer(Pointer<T>)
Converts a Pointer<T> to a NullablePointer.
Declaration
public static implicit operator NullablePointer(Pointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| Pointer<T> | pointer | The Pointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| NullablePointer | A NullablePointer pointing to the same target as the specified Pointer<T>. |
implicit operator NullablePointer<T>(Pointer<T>)
Converts a Pointer<T> to a NullablePointer<T>.
Declaration
public static implicit operator NullablePointer<T>(Pointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| Pointer<T> | pointer | The Pointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| NullablePointer<T> | A NullablePointer<T> pointing to the same target as the specified Pointer<T>. |
implicit operator NullablePointerReadOnly(Pointer<T>)
Converts a Pointer<T> to a NullablePointerReadOnly.
Declaration
public static implicit operator NullablePointerReadOnly(Pointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| Pointer<T> | pointer | The Pointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| NullablePointerReadOnly | A NullablePointerReadOnly pointing to the same target as the specified Pointer<T>. |
implicit operator NullablePointerReadOnly<T>(Pointer<T>)
Converts a Pointer<T> to a NullablePointerReadOnly<T>.
Declaration
public static implicit operator NullablePointerReadOnly<T>(Pointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| Pointer<T> | pointer | The Pointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| NullablePointerReadOnly<T> | A NullablePointerReadOnly<T> pointing to the same target as the specified Pointer<T>. |
implicit operator NullablePointerUninitialized(Pointer<T>)
Converts a Pointer<T> to a NullablePointerUninitialized.
Declaration
public static implicit operator NullablePointerUninitialized(Pointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| Pointer<T> | pointer | The Pointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| NullablePointerUninitialized | A NullablePointerUninitialized pointing to the same target as the specified Pointer<T>. |
implicit operator NullablePointerUninitialized<T>(Pointer<T>)
Converts a Pointer<T> to a NullablePointerUninitialized<T>.
Declaration
public static implicit operator NullablePointerUninitialized<T>(Pointer<T> pointer)
Parameters
| Type | Name | Description |
|---|---|---|
| Pointer<T> | pointer | The Pointer<T> to convert. |
Returns
| Type | Description |
|---|---|
| NullablePointerUninitialized<T> | A NullablePointerUninitialized<T> pointing to the same target as the specified Pointer<T>. |