EulerProtocol
public protocol EulerProtocol
The EulerProtocol
protocol exposes the methods and properties of an underlying CoglEuler
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 Euler
.
Alternatively, use EulerRef
as a lighweight, unowned
reference if you already have an instance you just want to use.
-
Untyped pointer to the underlying
CoglEuler
instance.Declaration
Swift
var ptr: UnsafeMutableRawPointer! { get }
-
_ptr
Default implementationTyped pointer to the underlying
CoglEuler
instance.Default Implementation
Return the stored, untyped pointer as a typed pointer to the
CoglEuler
instance.Declaration
Swift
var _ptr: UnsafeMutablePointer<CoglEuler>! { get }
-
Required Initialiser for types conforming to
EulerProtocol
Declaration
Swift
init(raw: UnsafeMutableRawPointer)