SwiftstructBlastDoor

struct BlastDoor.Image

Structure

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

Members 16

  1. fieldlet enforcedEncoding: BlastDoor.Image.Encoding?+0x38
  2. fieldlet maxPixelDimension: Int?+0x28
  3. fieldlet provider: BlastDoor.ImageProvider+0x0
  4. funcdata(using: BlastDoor.Image.Encoding) throws -> Foundation.Data
  5. funcemojiStrikeImage(atIndex: Int, maxPixelDimension: CoreGraphics.CGFloat, alignmentInset: inout CGSize) throws -> BlastDoor.Image
  6. funcencode(to: inout KeyedEncodingContainer<BlastDoor.Image.CodingKeys>, using: BlastDoor.Image.Encoding) throws -> ()
  7. functhumbnailImage(maxPixelDimension: CoreGraphics.CGFloat, imageIndex: Int) throws -> BlastDoor.Image
  8. funcupdateConfiguration(using: BlastDoor.Image.Encoding) -> BlastDoor.Image.Encoding
  9. funcupdateEncodingFormat(to: BlastDoor.Image.Encoding) -> BlastDoor.Image.Encoding
  10. funcwrite(to: Foundation.URL, encoding: BlastDoor.Image.Encoding) throws -> ()
  11. initinit(from: KeyedDecodingContainer<BlastDoor.Image.CodingKeys>, using: BlastDoor.Image.Encoding) throws -> BlastDoor.Image
  12. initinit(provider: BlastDoor.ImageProvider, maxPixelDimension: Int?, enforcedEncoding: BlastDoor.Image.Encoding?) -> BlastDoor.Image
  13. typealiastypealias EncodingFormat = BlastDoor.Image.Encoding
  14. typealiastypealias Key = BlastDoor.Image.CodingKeys
  15. typealiastypealias ObjectiveCBridgedType = BlastDoor._ObjCImageWrapper
  16. varvar bridgedToObjectiveC: BlastDoor._ObjCImageWrapper { get }
struct Image {
    enum CodingKeys {
        case imageProviderType
        case imageProviderData
    }
    enum ImageProviderType {
        case file
        case data
    }
    enum Encoding {
        enum ImageEncoding {
            case atx
            case bitmap
            case pixelBuffer
        }
        enum CodingKeys {
            case imageEncoding
            case preTwiddled
            case lzfseCompressed
            case pixelBufferEncodingConfiguration
        }
        case atx(BlastDoor.ATXEncodingConfiguration)
        case pixelBuffer(BlastDoor.PixelBufferEncodingConfiguration)
        case bitmap()
        case jpeg()
        case png()
    }
    let provider: any BlastDoor.ImageProvider
    let maxPixelDimension: Swift.Int?
    let enforcedEncoding: BlastDoor.Image.Encoding?

    init(from: Swift.KeyedDecodingContainer<BlastDoor.Image.CodingKeys>, using: BlastDoor.Image.Encoding) throws
    init(provider: any BlastDoor.ImageProvider, maxPixelDimension: Swift.Int?, enforcedEncoding: BlastDoor.Image.Encoding?)

    var bridgedToObjectiveC: BlastDoor._ObjCImageWrapper {
        get
    }

    func emojiStrikeImage(atIndex: Swift.Int, maxPixelDimension: CoreGraphics.CGFloat, alignmentInset: inout __C.CGSize) throws -> BlastDoor.Image
    func thumbnailImage(maxPixelDimension: CoreGraphics.CGFloat, imageIndex: Swift.Int) throws -> BlastDoor.Image
    func updateConfiguration(using: BlastDoor.Image.Encoding) -> BlastDoor.Image.Encoding
    func updateEncodingFormat(to: BlastDoor.Image.Encoding) -> BlastDoor.Image.Encoding
    func data(using: BlastDoor.Image.Encoding) throws -> Foundation.Data
    func write(to: Foundation.URL, encoding: BlastDoor.Image.Encoding) throws
    func encode(to: inout Swift.KeyedEncodingContainer<BlastDoor.Image.CodingKeys>, using: BlastDoor.Image.Encoding) throws
}