pub trait OptionalItem<T> { // Required method fn item(&self) -> Option<&T>; }
convenenience trait for dealing with Option<&Spanned>