CustomLeafReflectable

protocol CustomLeafReflectable

A type that explicitly supplies its own Mirror but whose descendant classes are not represented in the Mirror unless they also override customMirror().

Inheritance CustomReflectable View Protocol Hierarchy →
Import import Swift

Instance Methods

func customMirror() Required

Return the Mirror for self.

Note: If Self has value semantics, the Mirror should be unaffected by subsequent mutations of self.

Declaration

func customMirror() -> Mirror

Declared In

CustomReflectable