SwiftstructWorkflowEditor

struct WorkflowEditor.VariableNumberField

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

inherits{}

Members 9

  1. fieldvar _editingSession: SwiftUI.StateObject<WorkflowUICore.AttributedTextEditingSession<WorkflowKit.WFVariableString>>
  2. fieldvar _editorOptions: SwiftUI.EnvironmentObject<WorkflowEditor.WorkflowEditorOptions>
  3. fieldvar _state: WorkflowEditor.StoredParameterState<WFNumberStringSubstitutableState>
  4. fieldvar allowedVariableTypes: Set<WFVariableType>+0x10
  5. fieldvar allowsDecimalNumbers: Bool+0x18
  6. fieldvar allowsNegativeNumbers: Bool+0x19
  7. fieldvar placeholder: String+0x0
  8. fieldvar textAlignment: SwiftUI.TextAlignment
  9. typealiastypealias Body = SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<WorkflowEditor.VariableTextEditor, SwiftUI._EnvironmentKeyWritingModifier<SwiftUI.TextAlignment>>, SwiftUI._AppearanceActionModifier>
struct VariableNumberField {
    var placeholder: Swift.String
    var allowedVariableTypes: Swift.Set<__C.WFVariableType>
    var allowsDecimalNumbers: Swift.Bool
    var allowsNegativeNumbers: Swift.Bool
    var textAlignment: SwiftUI.TextAlignment
    // synthesized from the backing storage `_state`; the property's own accessors are stripped
    @WorkflowEditor.StoredParameterState<__C.WFNumberStringSubstitutableState> var state: __C.WFNumberStringSubstitutableState? {
        get
        set
    }
    // synthesized from the backing storage `_editingSession`; the property's own accessors are stripped
    @SwiftUI.StateObject var editingSession: WorkflowUICore.AttributedTextEditingSession<WorkflowKit.WFVariableString> {
        get
    }
    // synthesized from the backing storage `_editorOptions`; the property's own accessors are stripped
    @SwiftUI.EnvironmentObject var editorOptions: WorkflowEditor.WorkflowEditorOptions {
        get
    }
}