pub fn elected_marker(record: &Ident, field: &Ident) -> IdentExpand description
What ONE ELECTION’s marker type is called: <Record>By<Field>.
The name is the TYPE spelling of the method name beside it — retrieve_by_image_embedding and
SegmentPairByImageEmbedding are one election read two ways, so a reader who has found either has
found the other, and a declaration’s elections and its per-election methods cannot drift apart in
spelling.
It carries the RECORD’s name for one_storage_marker’s reason, which is the naming law every
item this family mints in the declarer’s scope is under: the scope belongs to the author, two
declarations electing a field of the same name are an ordinary program, and a marker named after
the field alone would make the second one E0428.
A UNIT STRUCT and not a const, which is the one place it parts from the storage marker: this
name is spelled by the wiring — SlotLane<E, T, SegmentPairByImageEmbedding> — so the type namespace is
exactly where it is needed, and it takes the declaration’s own visibility for the same reason the
retrieve methods do.