Enum member isElementView
Whether T satisfies the common borrowed element-view identity contract.
enum isElementView(T) = __traits(compiles, (ref scope const T value) nothrow @nogc @safe
{
static assert(is(Unqual!(typeof(value .type)) == ElementType));
static assert(is(Unqual!(typeof(value .id)) == OsmId));
ElementType type = value .type;
OsmId id = value .id;
}
);
A conforming type exposes exact ElementType and OsmId values through
type and id from an @safe nothrow @nogc borrowed access path.
The concrete representation remains codec-owned; satisfying this predicate does not imply one common binary layout.