PitStopSteps
@available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
public struct PitStopSteps : Hashable
Pitstop view and custom options
-
placeholder for
View
to renderDeclaration
Swift
public var view: AnyView
-
options to customise pitstop line for
width
andColor
Declaration
Swift
public var lineOptions: PitStopLineOptions
-
Initilazer to hold
View
and pit stop line OptionsDeclaration
Swift
public init(view: AnyView, lineOptions: PitStopLineOptions = .custom(1, Colors.gray(.light).rawValue))
Parameters
view
View
to renderlineOptions
options to customise pitstop line for
width
andColor
-
to generate hash
Declaration
Swift
public func hash(into hasher: inout Hasher)
Parameters
hasher
hasger variable
-
equatable override
Declaration
Swift
public static func == (lhs: PitStopSteps, rhs: PitStopSteps) -> Bool
Parameters
lhs
lhs variable for comparison
rhs
lhs variable for comparison