SwiftstructCalendarUIKit
struct CalendarUIKit.Token
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolCalendarUIKit.ChoosableToken
- protocolCalendarUIKit.MagicComposeToken
- protocolSwift.Equatable
- protocolSwift.Hashable
Members 11
- func
static CalendarUIKit.Token< where A == CalendarUIKit.NoChoice, B == Never>.fromText(String) -> CalendarUIKit.Token<CalendarUIKit.NoChoice, Never> - field
var choices: [A]+0x28 - field
var chosen: A? - field
var range: _NSRange+0x10 - field
var shouldAutoDisambiguate: Bool - field
var source: CalendarUIKit.MagicComposeTokenSource+0x21 - field
var text: String+0x0 - field
var type: CalendarUIKit.MagicComposeTokenType+0x20 - field
var value: B? - func
updatedTokenWithRange(_NSRange) -> CalendarUIKit.Token<A, B> - typealias
typealias ChoiceType = A
Header
struct Token<A, B> where A: CalendarUIKit.MagicComposeChoice, B: Swift.Hashable { var text: Swift.String var range: __C._NSRange var type: CalendarUIKit.MagicComposeTokenType var source: CalendarUIKit.MagicComposeTokenSource var choices: [A] var chosen: A? var value: B? var shouldAutoDisambiguate: Swift.Bool func updatedTokenWithRange(_: __C._NSRange) -> CalendarUIKit.Token<A, B> }