pub trait RefView<'a> { type Viewer; // Required method fn view(&'a self) -> Self::Viewer where Self::Viewer: 'a; }
Trait to “view” into a struct
See module-level documentation