InitiallyUnownedClassProtocol
public protocol InitiallyUnownedClassProtocol
The class structure for the GInitiallyUnowned type.
The InitiallyUnownedClassProtocol
protocol exposes the methods and properties of an underlying GInitiallyUnownedClass
instance.
The default implementation of these can be found in the protocol extension below.
For a concrete class that implements these methods and properties, see InitiallyUnownedClass
.
Alternatively, use InitiallyUnownedClassRef
as a lighweight, unowned
reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
GInitiallyUnownedClass
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
_ptr
Default implementationTyped pointer to the underlying
GInitiallyUnownedClass
instance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
GInitiallyUnownedClass
instance.Declaration
Swift
var _ptr: UnsafeMutablePointer<GInitiallyUnownedClass>! { get }
-
Required Initialiser for types conforming to
InitiallyUnownedClassProtocol
Declaration
Swift
init(raw: UnsafeMutableRawPointer)
-
gTypeClass
Extension methodthe parent class
Declaration
Swift
@inlinable var gTypeClass: GTypeClass { get }