///
/// HybridFallbackFontSpec.swift
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © Marc Rousavy @ Margelo
///

import NitroModules

/// See ``HybridFallbackFontSpec``
public protocol HybridFallbackFontSpec_protocol: HybridObject {
  // Properties
  

  // Methods
  
}

public extension HybridFallbackFontSpec_protocol {
  /// Default implementation of ``HybridObject.toString``
  func toString() -> String {
    return "[HybridObject FallbackFont]"
  }
}

/// See ``HybridFallbackFontSpec``
open class HybridFallbackFontSpec_base {
  private weak var cxxWrapper: HybridFallbackFontSpec_cxx? = nil
  public init() { }
  public func getCxxWrapper() -> HybridFallbackFontSpec_cxx {
  #if DEBUG
    guard self is any HybridFallbackFontSpec else {
      fatalError("`self` is not a `HybridFallbackFontSpec`! Did you accidentally inherit from `HybridFallbackFontSpec_base` instead of `HybridFallbackFontSpec`?")
    }
  #endif
    if let cxxWrapper = self.cxxWrapper {
      return cxxWrapper
    } else {
      let cxxWrapper = HybridFallbackFontSpec_cxx(self as! any HybridFallbackFontSpec)
      self.cxxWrapper = cxxWrapper
      return cxxWrapper
    }
  }
}

/**
 * A Swift base-protocol representing the FallbackFont HybridObject.
 * Implement this protocol to create Swift-based instances of FallbackFont.
 * ```swift
 * class HybridFallbackFont : HybridFallbackFontSpec {
 *   // ...
 * }
 * ```
 */
public typealias HybridFallbackFontSpec = HybridFallbackFontSpec_protocol & HybridFallbackFontSpec_base
