SwiftstructAgentCanvasUICore
struct AgentCanvasUICore.PasteboardRepresentation.Text
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
Members 8
- field
var _attributedString: AgentCanvasUICore.MainActorIsolated<NSAttributedString?>+0x18 - field
let kinds: Set<AgentCanvasUICore.PasteboardRepresentation.Text.Kind>+0x0 - field
var string: String?+0x8 - func
data(forPasteboardType: AgentCanvasUICore.PasteboardType) async throws -> Foundation.Data - func
mainActorData(forPasteboardType: AgentCanvasUICore.PasteboardType) throws -> Foundation.Data - init
init(attributedString: NSAttributedString, string: String?) -> AgentCanvasUICore.PasteboardRepresentation.Text - init
init(string: String) -> AgentCanvasUICore.PasteboardRepresentation.Text - var
var supportedPasteboardTypes: Set<AgentCanvasUICore.PasteboardType> { get }
Header
struct AgentCanvasUICore.PasteboardRepresentation.Text { enum Kind { case plainText case richTextFormat var description: Swift.String { get } } enum Error { case unsupportedPasteboardType case failedToProduceData } let kinds: Swift.Set<AgentCanvasUICore.PasteboardRepresentation.Text.Kind> var string: Swift.String? // synthesized from the backing storage `_attributedString`; the property's own accessors are stripped @AgentCanvasUICore.MainActorIsolated var attributedString: __C.NSAttributedString? { get set } init(attributedString: __C.NSAttributedString, string: Swift.String?) init(string: Swift.String) var supportedPasteboardTypes: Swift.Set<AgentCanvasUICore.PasteboardType> { get } func mainActorData(forPasteboardType: AgentCanvasUICore.PasteboardType) throws -> Foundation.Data func data(forPasteboardType: AgentCanvasUICore.PasteboardType) async throws -> Foundation.Data }