Returns the number of formats that the this object contains.
Note that DMA buffers are a Linux concept, so on other platforms, [method@Gdk.DmabufFormats.get_n_formats] will always return zero.
this |
a `GdkDmabufFormats` |
the number of formats |