Runt
2025-07-09 3b7521a47ae731f0bf0a922822e4417493489539
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
//
//  DeviceInfo.swift
//  LiveProject
//
//  Created by 倪路朋 on 6/26/25.
//
import SwiftUI
 
struct DeviceInfo : Hashable {
    let name:String
    let type:StreamType
    let deviceId:String;
    var icon : IconInfo? = nil;
    
    func hash(into hasher: inout Hasher){
        hasher.combine(deviceId)
    }
    
    static func == (lhs: DeviceInfo, rhs: DeviceInfo) -> Bool {
        lhs.deviceId == rhs.deviceId
    }
}