Operator explicit operator
explicit operator RefRO<T>(RefRW<T>)
Convert into a read-only version RefRO of this RefRW
Declaration
public static explicit operator RefRO<T>(RefRW<T> refRW)
Parameters
Type | Name | Description |
---|---|---|
RefRW<T> | refRW | The read-write reference to convert to read-only |
Returns
Type | Description |
---|---|
RefRO<T> | Returns a RefRO |