Skip to main content

fold_accessor

Function fold_accessor 

Source
pub fn fold_accessor(field: &Ident) -> Ident
Expand description

The fold_by_<field> accessor a SET election gets — what semantics(fold = "…") is spent on.

Beside fan_door and for its reason: a derived name has one home, and this one is derived from an elected field, so a copy field spelled like it collides on the declaration’s own type.