pub trait ItemView { // Required methods fn kind(&self) -> ItemKind; fn parts(&self) -> &[Part]; fn metadata(&self) -> &MetadataMap; }