forked from swiftlang/swift-docc-symbolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMixin.swift
More file actions
24 lines (19 loc) · 733 Bytes
/
Copy pathMixin.swift
File metadata and controls
24 lines (19 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/*
This source file is part of the Swift.org open source project
Copyright (c) 2021 Apple Inc. and the Swift project authors
Licensed under Apache License v2.0 with Runtime Library Exception
See https://swift.org/LICENSE.txt for license information
See https://swift.org/CONTRIBUTORS.txt for Swift project authors
*/
import Foundation
/**
A protocol that allows extracted symbols to have extra data
aside from the base ``SymbolGraph/Symbol``.
*/
public protocol Mixin: Codable {
/**
The key under which a mixin's data is filed.
> Important: With respect to deserialization, this framework assumes `mixinKey`s between instances of `SymbolMixin` are unique.
*/
static var mixinKey: String { get }
}