pub unsafe trait Data { fn ty() -> Format; }
Some data whose type must be known by the library.
This trait is unsafe to implement because bad things will happen if ty() returns a wrong value.
ty()
Returns the type of the data from an enum.