---
title: DiskImage.LayerType
framework: diskimagekit
role: symbol
role_heading: Structure
path: diskimagekit/diskimage/layertype-swift.struct
---

# DiskImage.LayerType

An enumeration that defines the type of a layer in a stacked disk image.

## Declaration

```swift
struct LayerType
```

## Topics

### Operators

- [==(_:_:)](diskimagekit/diskimage/layertype-swift.struct/==(_:_:).md)

### Type Properties

- [cache](diskimagekit/diskimage/layertype-swift.struct/cache.md)
- [overlay](diskimagekit/diskimage/layertype-swift.struct/overlay.md)

### Type Methods

- [overlay(blockCount:)](diskimagekit/diskimage/layertype-swift.struct/overlay(blockcount:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Values that describe block sizes and image formats

- [DiskImage.Format](diskimagekit/diskimage/format-swift.enum.md)
- [DiskImage.BlockSize](diskimagekit/diskimage/blocksize-swift.enum.md)
