SwiftstructPreviewShellKit

struct PreviewShellKit.CanvasToggleControl

Structure

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

Members 3

  1. fieldlet control: PreviewShellKit.CanvasControl<Bool>
  2. initinit(sfSymbolName: String, title: String, action: PreviewShellKit.CanvasToggleControl.Action) -> PreviewShellKit.CanvasToggleControl
  3. typealiastypealias State = Swift.Bool
struct CanvasToggleControl {
    enum Action {
        case perform(closure: (_: Swift.Bool) -> ())
        case update
    }
    let control: PreviewShellKit.CanvasControl<Swift.Bool>

    init(sfSymbolName: Swift.String, title: Swift.String, action: PreviewShellKit.CanvasToggleControl.Action)
}