struct TestFabricScoped
TestFabricScoped
-
fabricSensitiveInt8u
attribute.Declaration
Swift
let fabricSensitiveInt8u: UInt8
-
optionalFabricSensitiveInt8u
attribute.Declaration
Swift
let optionalFabricSensitiveInt8u: UInt8?
-
nullableFabricSensitiveInt8u
attribute.Declaration
Swift
let nullableFabricSensitiveInt8u: UInt8?
-
nullableOptionalFabricSensitiveInt8u
attribute.Declaration
Swift
let nullableOptionalFabricSensitiveInt8u: UInt8?
-
fabricSensitiveCharString
attribute.Declaration
Swift
let fabricSensitiveCharString: String
-
fabricSensitiveStruct
attribute.Declaration
Swift
let fabricSensitiveStruct: Matter.UnitTestingTrait.SimpleStruct
-
fabricSensitiveInt8uList
attribute.Declaration
Swift
let fabricSensitiveInt8uList: [UInt8]
-
fabricIndex
attribute.Declaration
Swift
let fabricIndex: UInt8
-
Creates a new Struct instance using data read from the given
TraitDecoder
.Throws
HomeError.parseError
when parsing fails.Declaration
Swift
init(decoder: TraitDecoder) throws
Parameters
decoder
The raw data representing this Struct.
-
Writes this Struct to the given
TraitEncoder
. ThrowsHomeError.parseError
if the data could not be encoded.Declaration
Swift
func encode(with encoder: TraitEncoder) throws
-
Returns the field corresponding to the given field ID.
Declaration
Swift
static func structField(id: UInt32) -> (any Field)?