Modifies the given caps into a representation with only fixed values. First the caps will be truncated and then the first structure will be fixated with Structure.fixate.

This function takes ownership of caps and will call Caps.makeWritable on it so you must not use caps afterwards unless you keep an additional reference to it with Caps.ref.

class Caps

Return Value

Type: Caps

the fixated caps