(home)

references

impl Hyperstring {
    pub fn references(&self) -> Vec<String> {
        self.0
            .iter()
            .filter_map(|segment| match segment {
                HyperstringSegment::Link(link) => Some(link.clone()),
                HyperstringSegment::Transclusion(transclusion) => Some(transclusion.clone()),
                _ => None,
            })
            .collect()
    }
}

Backlinks