Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Member group

Equals

Declaring type: Ptr<T>
Module: System.Runtime.InteropServices
Assembly: System.Runtime.dll
Source file: Ptr.rvn

Overloads / Variants

Equals

func Equals(other: Ptr<T>) -> bool

Source file: Ptr.rvn

Implements EquatableTo<Ptr<T>>.Equals

Compares addresses without reading either allocation or changing its lifetime.

Parameters

Name Type Description
other Ptr<T>

Return value

Boolean

Equals

virtual override func Equals(other: object?) -> bool

Source file: Ptr.rvn

Overrides Object.Equals

Compares a boxed pointer of the same element type by address.

Parameters

Name Type Description
other Object?

Return value

Boolean