Either._readLeft

private _LeftBox!S _readLeft(S)(return ref S storage) if (is(S == Storage) || is(S == const(Storage)) || is(S == immutable(Storage)) || is(S == inout(Storage))) static ref pure nothrow @nogc @trusted

Read the left alternative's storage without qualifier loss.

Reading an overlapped union member that could hold indirections is @system in D, so member access is centralized here behind the same tag-checking trust the accessors apply (they never call this for the inactive alternative).

Parameters

storageunion storage to read, under any qualifier.

Returns

reference to the left alternative's wrapper, same qualifier.