Documentation Language: Swift

Enumeration

GIR.OwnershipTransfer

Ownership transfer mechanism

enum OwnershipTransfer

Topics

Enumeration Cases

E
GIR.OwnershipTransfer.container

the recipient owns the container, but not the elements. (Only meaningful for container types.)

E
GIR.OwnershipTransfer.floating

same rules as for none, used for floating objects

E
GIR.OwnershipTransfer.full

the recipient owns the entire value. For a refcounted type, this means the recipient owns a ref on the value. For a container type, this means the recipient owns both container and elements.

E
GIR.OwnershipTransfer.none

the recipient does not own the value

Initializers

Default Implementations

Relationships

Conforms To