struct UnknownStructextension UnknownStruct : AutomationValue, Equatable, Hashable, Sendable, StructDataRepresentableRepresents an unknown struct.
-
Creates a new Struct instance using data read from the given
TraitDecoder.Throws
HomeError.parseErrorwhen parsing fails.Declaration
Swift
init(decoder: TraitDecoder) throwsParameters
decoderThe raw data representing this Struct.
-
Writes this Struct to the given
TraitEncoder. ThrowsHomeError.parseErrorif the data could not be encoded.Declaration
Swift
func encode(with encoder: TraitEncoder) throws -
Returns a Boolean value indicating whether two values are equal.
Equality is the inverse of inequality. For any values
aandb,a == bimplies thata != bisfalse.Declaration
Swift
static func == (lhs: UnknownStruct, rhs: UnknownStruct) -> BoolParameters
lhsA value to compare.
rhsAnother value to compare.