Interface ILoggableMirrorStruct<T>
Interface that is used by Unity.Logging to understand how to convert a mirror structure into UnsafeText. Low-level way to describe 'ToString'-like behavior for any type for Unity.Logging to use.
Inherited Members
Namespace: Unity.Logging
Syntax
public interface ILoggableMirrorStruct<T> : ILoggableMirrorStruct
Type Parameters
Name | Description |
---|---|
T | The original type that this mirror structure is for |
Remarks
This interface must be on a partial structure - then it means this partial structure is a mirror structure of type T.
There are several requirements:
- Multiple implementations of different ILoggableMirrorStruct on the same struct are not allowed.
- First field of the structure must be MirrorStructHeader
- Structure must have an implicit operator that converts from T.