SwiftstructPosterKit
BaseSliderView
struct PosterKit.BaseSliderView
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwiftUI.View
Members 8
- field
var _dragging: SwiftUI.State<Bool> - field
var _previousValue: SwiftUI.State<Double> - field
var _thumbSize: SwiftUI.State<CGSize> - field
var _trackSize: SwiftUI.State<CGSize> - field
var _value: SwiftUI.Binding<Double> - field
var makeThumb: (Double) -> B - field
var makeTrack: (Double) -> A - typealias
typealias Body = SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ZStack<SwiftUI.TupleContent<Pack{A, SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<SwiftUI.ModifiedContent<B, PosterKit.SizeMeasurement<PosterKit.SliderThumbSizePreferenceKey>>, SwiftUI._OffsetEffect>, SwiftUI.AddGestureModifier<SwiftUI._EndedGesture<SwiftUI._ChangedGesture<SwiftUI.DragGesture>>, SwiftUI.DefaultGestureCombiner>>}>>, PosterKit.SizeMeasurement<PosterKit.SliderTrackSizePreferenceKey>>, SwiftUI._ValueActionModifier2<Swift.Double>>, SwiftUI._AppearanceActionModifier>, SwiftUI._AppearanceActionModifier>
Header
struct BaseSliderView<A, B> where A: SwiftUI.View, B: SwiftUI.View { // synthesized from the backing storage `_value`; the property's own accessors are stripped @SwiftUI.Binding var value: Swift.Double { get set } var makeTrack: (_: Swift.Double) -> A var makeThumb: (_: Swift.Double) -> B // synthesized from the backing storage `_previousValue`; the property's own accessors are stripped @SwiftUI.State var previousValue: Swift.Double { get set } // synthesized from the backing storage `_trackSize`; the property's own accessors are stripped @SwiftUI.State var trackSize: __C.CGSize { get set } // synthesized from the backing storage `_thumbSize`; the property's own accessors are stripped @SwiftUI.State var thumbSize: __C.CGSize { get set } // synthesized from the backing storage `_dragging`; the property's own accessors are stripped @SwiftUI.State var dragging: Swift.Bool { get set } }