// Also grab the Igneous Linearizer snippets impl Hyperstring { pub fn links(&self) -> Vec<String> { self.0 .iter() .filter_map(|segment| { if let HyperstringSegment::Link(link) = segment { Some(link.clone()) } else { None } }) .collect() } }