SwiftclassDesignLibrary

@Observable class DesignLibrary.SegmentedControlDragTrackingInfo

Structure

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

inherits{}

Members 4

  1. fieldlet _$observationRegistrar: Observation.ObservationRegistrar
  2. fieldvar _drag: DesignLibrary.SegmentedControlDragTrackingInfo.DragGestureValue?+0x38
  3. fieldvar _initialPressedSegmentIndex: Int?+0x28
  4. fieldvar _point: CGPoint?+0x10
@Observation.Observable
class SegmentedControlDragTrackingInfo {
    struct DragGestureValue {
        var startLocation: __C.CGPoint
        var location: __C.CGPoint
        var translation: __C.CGSize
    }
    // synthesized from the storage `_point` that @Observable generated; the property's own accessors are stripped
    var point: __C.CGPoint?
    // synthesized from the storage `_initialPressedSegmentIndex` that @Observable generated; the property's own accessors are stripped
    var initialPressedSegmentIndex: Swift.Int?
    // synthesized from the storage `_drag` that @Observable generated; the property's own accessors are stripped
    var drag: DesignLibrary.SegmentedControlDragTrackingInfo.DragGestureValue?
}