-
The key used to optionally unique the child item.
Declaration
Swift
public var key: AnyHashable?
-
The traits of a child item.
Declaration
Swift
public var traits: Traits
-
The element representing the child item.
Declaration
Swift
public var element: Element
-
Creates a new child item with the given element.
Declaration
Swift
public init(_ element: Element)
-
Creates a new child item with the given element.
Declaration
Swift
public init(_ element: Element, key: AnyHashable? = nil)
-
Declaration
Swift
public struct Traits