Documentation Language: Swift

Initializer

init(source:target:downPrefix:downSuffix:upPrefix:upSuffix:embedding:)

Designated initialiser for a nested type conversion

init(source: GIRType, target: GIRType, downPrefix: String, downSuffix: String, upPrefix: String, upSuffix: String, embedding: TypeConversion)

Parameters

source

The source type for the conversion

target

The target type this conversion refers to

downPrefix

The prefix to apply when downcasting an expression

downSuffix

The suffix to apply when downcasting an expression

upPrefix

The prefix to apply when upcasting an expression

upSuffix

The suffix to apply when upcasting an expression

embedding

The type conversion to embed