SwiftstructDesignLibrary
struct DesignLibrary.ButtonRole
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 4
Header
struct ButtonRole { enum Kind { case primaryAction case destructive } var kind: DesignLibrary.ButtonRole.Kind static var default: DesignLibrary.ButtonRole { get } static var destructive: DesignLibrary.ButtonRole { get } static var primaryAction: DesignLibrary.ButtonRole { get } }