pub fn borrowed_nonces(&self, nonce: Nonce) -> BTreeSet<Nonce> {
        if self.borrows.contains_key(&nonce) {
            match &self.borrows[&nonce] {
                BorrowInfo::BorrowedBy(borrowed_by) => borrowed_by.clone(),
                BorrowInfo::FieldsBorrowedBy(fields_borrowed_by) => {
                    let empty_set = BTreeSet::new();
                    Self::get_union_of_sets(&empty_set, fields_borrowed_by)
                }
            }
        } else {
            BTreeSet::new()
        }
    }
/// returns the set of nonces borrowing from nonce that might alias some extension of nonce
returns the set of nonces borrowing from nonce that might alias some extension of nonce
returns the set of nonces borrowing from nonce that might alias some extension of nonce
pub fn borrowed_nonces(&self, nonce: Nonce) -> BTreeSet<Nonce> {
        if self.borrows.contains_key(&nonce) {
            match &self.borrows[&nonce] {
                BorrowInfo::BorrowedBy(borrowed_by) => borrowed_by.clone(),
                BorrowInfo::FieldsBorrowedBy(fields_borrowed_by) => {
                    let empty_set = BTreeSet::new();
                    Self::get_union_of_sets(&empty_set, fields_borrowed_by)
                }
            }
        } else {
            BTreeSet::new()
        }
    }
pub fn borrowed_nonces ( & self , nonce : Nonce ) -> BTreeSet < Nonce > { if self . borrows . contains_key ( & nonce ) { match & self . borrows [ & nonce ] { BorrowInfo :: BorrowedBy ( borrowed_by ) => borrowed_by . clone ( ) , BorrowInfo :: FieldsBorrowedBy ( fields_borrowed_by ) => { let empty_set = BTreeSet :: new ( ) ; Self :: get_union_of_sets ( & empty_set , fields_borrowed_by ) } } } else { BTreeSet :: new ( ) } }
returns the set of nonces borrowing from nonce that might alias some extension of nonce
returns the set of nonces borrowing from nonce that might alias some extension of nonce
&self
nonce
Nonce