Enumeration

Mirror.DisplayStyle

A suggestion of how a mirror’s subject is to be interpreted.

Declaration

enum Mirror.DisplayStyle

Overview

Playgrounds and the debugger will show a representation similar to the one used for instances of the kind indicated by the DisplayStyle case name when the mirror is used for display.

Topics

Instance Properties

var hashValue: Int

The hash value.

Instance Methods

func hash(into: inout Hasher)

Hashes the essential components of this value by feeding them into the given hasher.

Operator Functions

static func != (Mirror.DisplayStyle, Mirror.DisplayStyle) -> Bool

Returns a Boolean value indicating whether two values are not equal.

static func == (Mirror.DisplayStyle, Mirror.DisplayStyle) -> Bool

Returns a Boolean value indicating whether two values are equal.