Contents

init(unsafeAddress:mutating:)

Unsafely initializes an instance of MutableRef using the given ‘unsafeAddress’ as the mutable reference based on the mutating lifetime of the given ‘owner’ argument.

Declaration

init<Owner>(unsafeAddress pointer: UnsafeMutablePointer<Value>, mutating owner: inout Owner) where Owner : ~Copyable, Owner : ~Escapable

Parameters

  • owner:

    The owning instance that this MutableRef instance’s lifetime is based on.