InitiallyUnownedRef

public struct InitiallyUnownedRef : InitiallyUnownedProtocol, GWeakCapturing

A type for objects that have an initially floating reference.

All the fields in the GInitiallyUnowned structure are private to the implementation and should never be accessed directly.

The InitiallyUnownedRef type acts as a lightweight Swift reference to an underlying GInitiallyUnowned instance. It exposes methods that can operate on this data type through InitiallyUnownedProtocol conformance. Use InitiallyUnownedRef only as an unowned reference to an existing GInitiallyUnowned instance.

  • ptr
    Untyped pointer to the underlying `GInitiallyUnowned` instance.
    

    For type-safe access, use the generated, typed pointer initially_unowned_ptr property instead.

    Declaration

    Swift

    public let ptr: UnsafeMutableRawPointer!

InitiallyUnowned Class