override fun equals()

in skiko/src/commonMain/kotlin/org/jetbrains/skia/Rect.kt [65:72]


    override fun equals(other: Any?): Boolean {
        if (other === this) return true
        if (other !is Rect) return false
        if (left.compareTo(other.left) != 0) return false
        if (top.compareTo(other.top) != 0) return false
        if (right.compareTo(other.right) != 0) return false
        return bottom.compareTo(other.bottom) == 0
    }