---
source: tests/backends_swift_snapshot_test.rs
expression: "&file.content"
---
// Generated by alef — opaque handle class triples for types marked
// #[swift_bridge(already_declared)] in the Rust extern blocks.
// These classes are referenced by swift-bridge-generated code but are not
// auto-generated when the type is marked already_declared.

import Foundation
import RustBridgeC

public class DefaultClient: DefaultClientRefMut {
    public var isOwned: Bool = true

    public override init(ptr: UnsafeMutableRawPointer) {
        super.init(ptr: ptr)
    }

    deinit {
        if isOwned {
            __swift_bridge__$DefaultClient$_free(ptr)
        }
    }
}

public class DefaultClientRefMut: DefaultClientRef {
    public override init(ptr: UnsafeMutableRawPointer) {
        super.init(ptr: ptr)
    }
}

public class DefaultClientRef {
    public var ptr: UnsafeMutableRawPointer
    public init(ptr: UnsafeMutableRawPointer) { self.ptr = ptr }
}
