// // Bridgeable.swift // ark_ui_basic_bridge import ark_ui_basic /// A type that can be converted to and from its counterpart. public protocol Bridgeable { associatedtype Counterpart where Counterpart: Bridgeable, Counterpart.Counterpart == Self init(_ counterpart: Counterpart) } extension Bridgeable { public var counterpart: Self.Counterpart { .init(self) } }