gst/format: move format and related types under a module directory
Use a format
directory and store at least some of the types separately. ClockTime
is already a separate module but could be moved under the new format
directory. Having at least GenericFormattedValue
, Signed
, CompatibleFormattedValue
and other traits in their own modules would probably help readability and maintenance.
Write module level documentation with examples to help users understand how format
s and the relevant operations can be used.