---
title: AttributedString.Runs.AttributesSlice2
framework: foundation
role: symbol
role_heading: Structure
path: foundation/attributedstring/runs-swift.struct/attributesslice2
---

# AttributedString.Runs.AttributesSlice2

## Declaration

```swift
@preconcurrency struct AttributesSlice2<T, U> where T : AttributedStringKey, U : AttributedStringKey, T.Value : Sendable, U.Value : Sendable
```

## Relationships

### Conforms To

- [BidirectionalCollection](swift/bidirectionalcollection.md)
- [Collection](swift/collection.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [Sequence](swift/sequence.md)
