    struct AnyEnum

    extension AnyEnum : https://developers.home.google.com/reference/swift/GoogleHomeSDK/GoogleHomeSDK.html#/s:13GoogleHomeSDK15AutomationValueP, https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Enum.html, Equatable, Hashable, RawRepresentable, Sendable, SendableMetatype

A type-erased `https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Enum.html`
- `


  ### [OriginalValue](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyEnum#/s:13GoogleHomeSDK7AnyEnumV13OriginalValuea)


  ` Undocumented

  #### Declaration

  Swift

      typealias OriginalValue = UInt64

- `


  ### [init(erasing:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyEnum#/s:13GoogleHomeSDK7AnyEnumV7erasingACx_tcAA0E0Rzlufc)


  ` Creates a new instance wrapping the given object.

  #### Declaration

  Swift

      init<T>(erasing object: T) where T : https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Enum.html

- `


  ### [cast(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyEnum#/s:13GoogleHomeSDK7AnyEnumV4castyxSgxmAA0E0RzlF)


  ` Undocumented

  #### Declaration

  Swift

      func cast<T>(_ type: T.Type = T.self) -> T? where T : https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Enum.html

- `


  ### [is(_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyEnum#/s:13GoogleHomeSDK7AnyEnumV2isySbxmAA0E0RzlF)


  ` Undocumented

  #### Declaration

  Swift

      func `is`<T>(_ type: T.Type = T.self) -> Bool where T : https://developers.home.google.com/reference/swift/GoogleHomeSDK/Protocols/Enum.html

- `


  ### [init(rawValue:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyEnum#/s:13GoogleHomeSDK7AnyEnumV8rawValueACs6UInt64V_tcfc)


  ` Creates a new instance with the specified raw value.

  If there is no value of the type that corresponds with the specified raw
  value, this initializer returns `nil`. For example:

      enum PaperSize: String {
          case A4, A5, Letter, Legal
      }

      print(PaperSize(rawValue: "Legal"))
      // Prints "Optional(PaperSize.Legal)"

      print(PaperSize(rawValue: "Tabloid"))
      // Prints "nil"

  #### Declaration

  Swift

      init(rawValue: UInt64)

  #### Parameters

  |---|---|
  | ` rawValue ` | The raw value to use for the new instance. |

- `


  ### [rawValue](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyEnum#/s:13GoogleHomeSDK7AnyEnumV8rawValues6UInt64Vvp)


  ` The corresponding value of the raw type.

  A new instance initialized with `rawValue` will be equivalent to this
  instance. For example:

      enum PaperSize: String {
          case A4, A5, Letter, Legal
      }

      let selectedSize = PaperSize.Letter
      print(selectedSize.rawValue)
      // Prints "Letter"

      print(selectedSize == PaperSize(rawValue: selectedSize.rawValue)!)
      // Prints "true"

  #### Declaration

  Swift

      var rawValue: UInt64 { get }

- `


  ### [unrecognizedCase()](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyEnum#/s:13GoogleHomeSDK7AnyEnumV16unrecognizedCaseACyFZ)


  ` Undocumented

  #### Declaration

  Swift

      static func unrecognizedCase() -> AnyEnum

- `


  ### [==(_:_:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyEnum#/s:13GoogleHomeSDK7AnyEnumV2eeoiySbAC_ACtFZ)


  ` Returns a Boolean value indicating whether two values are equal.

  Equality is the inverse of inequality. For any values `a` and `b`,
  `a == b` implies that `a != b` is `false`.

  #### Declaration

  Swift

      static func == (lhs: AnyEnum, rhs: AnyEnum) -> Bool

  #### Parameters

  |---|---|
  | ` lhs ` | A value to compare. |
  | ` rhs ` | Another value to compare. |

- `


  ### [hash(into:)](https://developers.home.google.com/reference/swift/GoogleHomeSDK/Structs/AnyEnum#/s:13GoogleHomeSDK7AnyEnumV4hash4intoys6HasherVz_tF)


  ` Hashes the essential components of this value by feeding them into the
  given hasher.

  Implement this method to conform to the `Hashable` protocol. The
  components used for hashing must be the same as the components compared
  in your type's `==` operator implementation. Call `hasher.combine(_:)`
  with each of these components.
  Important

  In your implementation of `hash(into:)`,
  don't call `finalize()` on the `hasher` instance provided,
  or replace it with a different instance.
  Doing so may become a compile-time error in the future.

  #### Declaration

  Swift

      func hash(into hasher: inout Hasher)