pub fn iter<'a>(&'a self) -> Box<dyn Iterator<Item = &'a T> + 'a> {
        match *self {
            SingleOrMultiple::Single(ref single) => Box::new(iter::once(single)),
            SingleOrMultiple::Multiple(ref vector) => Box::new(vector.iter()),
        }
    }
/// Yields an iterator for the single value or the list
Yields an iterator for the single value or the list
Yields an iterator for the single value or the list
pub fn iter<'a>(&'a self) -> Box<dyn Iterator<Item = &'a T> + 'a> {
        match *self {
            SingleOrMultiple::Single(ref single) => Box::new(iter::once(single)),
            SingleOrMultiple::Multiple(ref vector) => Box::new(vector.iter()),
        }
    }
pub fn iter < ' a > ( & ' a self ) -> Box < dyn Iterator < Item = & ' a T > + ' a > { match * self { SingleOrMultiple :: Single ( ref single ) => Box :: new ( iter :: once ( single ) ) , SingleOrMultiple :: Multiple ( ref vector ) => Box :: new ( vector . iter ( ) ) , } }
Yields an iterator for the single value or the list
Yields an iterator for the single value or the list
&'a self
&'a self