struct GcHandle
source · line 14public
public struct GcHandle<T : ref>(val raw: ULong)
An outstanding native handle keeping a managed reference alive without promising a stable object address. Copying the token does not retain it.
type parameter T
source · line 14public
T : ref
constructor constructor
source · line 14public
constructor(val raw: ULong)
parameter raw
source · line 14public
val raw: ULong
field raw
source · line 14public
val raw: ULong
function equals
source · line 14publiccompiler-derived
operator fun equals(other: GcHandle<T>): Boolean
This derived operation is available when each field or payload type supports same-type equality. Required types: ULong.