AttrStringProtocol
public protocol AttrStringProtocol
The PangoAttrString structure is used to represent attributes with
a string value.
The AttrStringProtocol protocol exposes the methods and properties of an underlying PangoAttrString 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 AttrString.
Alternatively, use AttrStringRef as a lighweight, unowned reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
PangoAttrStringinstance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get } -
_ptrDefault implementationTyped pointer to the underlying
PangoAttrStringinstance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
PangoAttrStringinstance.Declaration
Swift
var _ptr: UnsafeMutablePointer<PangoAttrString>! { get } -
Required Initialiser for types conforming to
AttrStringProtocolDeclaration
Swift
init(raw: UnsafeMutableRawPointer)
View on GitHub
Install in Dash
AttrStringProtocol Protocol Reference