summaryrefslogtreecommitdiff
path: root/swift/src/Ice/SlicedData.swift
blob: 27e9e788d3f8df985f767d815c79255b044e260b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
//
// Copyright (c) ZeroC, Inc. All rights reserved.
//

/// SlicedData holds the slices of unknown class or exception types.
public struct SlicedData {
    /// The details of each slice, in order of most-derived to least-derived.
    public let slices: [SliceInfo]

    public init(slices: [SliceInfo]) {
        self.slices = slices
    }
}