Gst.Structure.prototype.copy

function copy():Gst.Structure {
    // Gjs wrapper for gst_structure_copy()
}

Duplicates a Gst.Structure and all its fields and values.

Free-function: gst_structure_free

Returns

a new Gst.Structure.