SwiftstructCarPlayAsset

struct CarPlayAsset.Slot

Structure

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

Members 26

  1. funcstatic _decodeOverrideRules(propertyName: String, from: inout UnkeyedDecodingContainer) throws -> [CarPlayAsset.Rule]
  2. funcstatic _keyPathName<A>(for: WritableKeyPath<CarPlayAsset.Slot, A>) -> String?
  3. funcstatic makeSkipEncodeInspectionInstance() -> CarPlayAsset.Slot
  4. varstatic var _skipEncodeDestinations: [String : CarPlayAsset.AssetDestination] { get }
  5. fieldvar _id: CarPlayAsset.SkipEncode<CarPlayAsset.TaggedValue<CarPlayAsset.Slot, Foundation.UUID>>
  6. fieldvar frame: CGRect
  7. fieldvar instrument: CarPlayAsset.Instrument?
  8. fieldvar overrides: CarPlayAsset.Overrides<CarPlayAsset.Slot>?
  9. fieldvar positionId: String
  10. fieldvar requirement: CarPlayAsset.RequirementType?
  11. fieldvar safeAreaInsets: CarPlayAsset.CPA.EdgeInsets
  12. fieldvar style: CarPlayAsset.Slot.Style
  13. fieldvar zIndex: Int
  14. funcaddingVisibilityRules([CarPlayAsset.VisibilityRule]) -> CarPlayAsset.Slot
  15. funcrestoreAssets(from: CarPlayAsset.AssetReading) throws -> ()
  16. funcscaledBy(CoreGraphics.CGFloat) -> CarPlayAsset.Slot
  17. funcwithBlendMode(CarPlayAsset.Dynamic<CarPlayAsset.Instrument.Configuration.BlendMode, CarPlayAsset.Instrument.Configuration.BlendMode>?) -> CarPlayAsset.Slot
  18. funcwithPositionId(prefix: String) -> CarPlayAsset.Slot
  19. funcwithRequirement(for: CarPlayAsset.VehicleType, combinedWith: CarPlayAsset.RequirementType.Logic?) -> CarPlayAsset.Slot
  20. funcwithRequirement(_: CarPlayAsset.RequirementType, combinedWith: CarPlayAsset.RequirementType.Logic?) -> CarPlayAsset.Slot
  21. initinit(positionId: String, style: CarPlayAsset.Slot.Style, frame: CGRect, safeAreaInsets: CarPlayAsset.CPA.EdgeInsets?, zIndex: Int, instrument: CarPlayAsset.Instrument?) -> CarPlayAsset.Slot
  22. typealiastypealias ID = CarPlayAsset.TaggedValue<CarPlayAsset.Slot, Foundation.UUID>
  23. varvar $id: CarPlayAsset.SkipEncode<CarPlayAsset.TaggedValue<CarPlayAsset.Slot, Foundation.UUID>> { get }
  24. varvar assets: [CarPlayAsset.Asset] { get }
  25. varvar id: CarPlayAsset.TaggedValue<CarPlayAsset.Slot, Foundation.UUID> { get set }
  26. varvar shouldEncode: Bool { get }
struct Slot {
    enum Style {
        enum CodingKeys {
            case circular
            case rectangular
            case corner
        }
        enum CircularCodingKeys {}
        enum RectangularCodingKeys {}
        enum CornerCodingKeys {
            case mask
            case ringRadius
            case ringCenterPoint
            case centralSlotPositionID
        }
        case corner(mask: CarPlayAsset.CPA.CornerMask, ringRadius: CoreGraphics.CGFloat, ringCenterPoint: __C.CGPoint, centralSlotPositionID: Swift.String)
        case circular
        case rectangular
    }
    enum CodingKeys {
        case style
        case frame
        case safeAreaInsets
        case zIndex
        case positionId
        case instrument
        case requirement
        case id
        case overrides
    }
    var style: CarPlayAsset.Slot.Style
    var frame: __C.CGRect
    var safeAreaInsets: CarPlayAsset.CPA.EdgeInsets
    var zIndex: Swift.Int
    var positionId: Swift.String
    var instrument: CarPlayAsset.Instrument?
    var requirement: CarPlayAsset.RequirementType?
    var overrides: CarPlayAsset.Overrides<CarPlayAsset.Slot>?

    init(positionId: Swift.String, style: CarPlayAsset.Slot.Style, frame: __C.CGRect, safeAreaInsets: CarPlayAsset.CPA.EdgeInsets?, zIndex: Swift.Int, instrument: CarPlayAsset.Instrument?)

    var assets: [any CarPlayAsset.Asset] {
        get
    }
    @CarPlayAsset.SkipEncode var id: CarPlayAsset.TaggedValue<CarPlayAsset.Slot, Foundation.UUID> {
        get
        set
    }
    var shouldEncode: Swift.Bool {
        get
    }

    func restoreAssets(from: any CarPlayAsset.AssetReading) throws
    func withBlendMode(_: CarPlayAsset.Dynamic<CarPlayAsset.Instrument.Configuration.BlendMode, CarPlayAsset.Instrument.Configuration.BlendMode>?) -> CarPlayAsset.Slot
    func withPositionId(prefix: Swift.String) -> CarPlayAsset.Slot
    func withRequirement(for: CarPlayAsset.VehicleType, combinedWith: CarPlayAsset.RequirementType.Logic?) -> CarPlayAsset.Slot
    func withRequirement(_: CarPlayAsset.RequirementType, combinedWith: CarPlayAsset.RequirementType.Logic?) -> CarPlayAsset.Slot
    func addingVisibilityRules(_: [CarPlayAsset.VisibilityRule]) -> CarPlayAsset.Slot
    func scaledBy(_: CoreGraphics.CGFloat) -> CarPlayAsset.Slot

    static var _skipEncodeDestinations: [Swift.String : CarPlayAsset.AssetDestination] {
        get
    }

    static func _keyPathName<A>(for: Swift.WritableKeyPath<CarPlayAsset.Slot, A>) -> Swift.String?
    static func _decodeOverrideRules(propertyName: Swift.String, from: inout any Swift.UnkeyedDecodingContainer) throws -> [any CarPlayAsset.Rule]
    static func makeSkipEncodeInspectionInstance() -> CarPlayAsset.Slot
}