Indirection

public protocol Indirection

Opt-in transparent member access. wrapper.foo resolves through to Target.foo via pointeeRef() when the wrapper has no foo of its own.

Associated Types

type Target

The pointee type that member access forwards to.

Methods

func pointeeRef() -> &Target

A shared reference to the pointee. Member READS peel through this.

Defined in lang/std/core/indirection.ks