pub fn prepend(self, prefix: AccessPath) -> Self {
        let mut acc = Self::default();
        for v in self.into_iter() {
            match v {
                Addr::Footprint(ap) => {
                    let mut new_ap = ap.clone();
                    new_ap.prepend(prefix.clone());
                    acc.insert(Addr::Footprint(new_ap));
                }
                a => {
                    acc.insert(a);
                }
            }
        }
        acc
    }
/// Produce a new version of `self` with `prefix` prepended to each footprint
/// value
Produce a new version of `self` with `prefix` prepended to each footprint
value
Produce a new version of ` self ` with ` prefix ` prepended to each footprint value
pub fn prepend(self, prefix: AccessPath) -> Self {
        let mut acc = Self::default();
        for v in self.into_iter() {
            match v {
                Addr::Footprint(ap) => {
                    let mut new_ap = ap.clone();
                    new_ap.prepend(prefix.clone());
                    acc.insert(Addr::Footprint(new_ap));
                }
                a => {
                    acc.insert(a);
                }
            }
        }
        acc
    }
pub fn prepend ( self , prefix : AccessPath ) -> Self { let mut acc = Self :: default ( ) ; for v in self . into_iter ( ) { match v { Addr :: Footprint ( ap ) => { let mut new_ap = ap . clone ( ) ; new_ap . prepend ( prefix . clone ( ) ) ; acc . insert ( Addr :: Footprint ( new_ap ) ) ; } a => { acc . insert ( a ) ; } } } acc }
Produce a new version of `self` with `prefix` prepended to each footprint
value
Produce a new version of ` self ` with ` prefix ` prepended to each footprint value
self
prefix
AccessPath