SwiftstructAgentCanvasModel
struct AgentCanvasModel.RichText.List
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Equatable
- protocolSwift.Identifiable
Members 11
- field
var id: Foundation.UUID - field
var items: [AgentCanvasModel.RichText.Element] - field
var kind: AgentCanvasModel.RichText.List.Kind - field
var properties: AgentCanvasModel.RichText.Element.Properties - field
var startIndex: Int - func
accept<A where A: AgentCanvasModel.RichText.Visitor>(inout A) -> A.Result - init
init(pseudoMarkdown: String) -> AgentCanvasModel.RichText.List - init
init(id: Foundation.UUID, properties: AgentCanvasModel.RichText.Element.Properties, kind: AgentCanvasModel.RichText.List.Kind, startIndex: Int, items: [AgentCanvasModel.RichText.Element]) -> AgentCanvasModel.RichText.List - init
init(AgentCanvasModel.RichText.List) -> AgentCanvasModel.RichText.List - typealias
typealias ID = Foundation.UUID - var
var children: [AgentCanvasModel.RichText.Component]? { get }
Header
struct AgentCanvasModel.RichText.List { enum Kind { case unordered case ordered } var id: Foundation.UUID var properties: AgentCanvasModel.RichText.Element.Properties var kind: AgentCanvasModel.RichText.List.Kind var startIndex: Swift.Int var items: [AgentCanvasModel.RichText.Element] init(pseudoMarkdown: Swift.String) init(id: Foundation.UUID, properties: AgentCanvasModel.RichText.Element.Properties, kind: AgentCanvasModel.RichText.List.Kind, startIndex: Swift.Int, items: [AgentCanvasModel.RichText.Element]) init(_: AgentCanvasModel.RichText.List) var children: [any AgentCanvasModel.RichText.Component]? { get } func accept<A>(_: inout A) -> A.Result where A: AgentCanvasModel.RichText.Visitor }