---
title: DeviceID
framework: system
role: symbol
role_heading: Structure
path: system/deviceid
---

# DeviceID

A Swift wrapper of the C dev_t type.

## Declaration

```swift
@frozen struct DeviceID
```

## Topics

### Initializers

- [init(_:)](system/deviceid/init(_:).md)
- [init(rawValue:)](system/deviceid/init(rawvalue:).md)

### Instance Properties

- [rawValue](system/deviceid/rawvalue.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Copyable](swift/copyable.md)
- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
