pub fn range_from_address(&self, address: u64) -> Option<(u64, u64)> {
        let mut res: Option<(u64, u64)> = None;
        for (low_pc, high_pc) in &self.ranges {
            if (low_pc <= &address) && (&address <= high_pc) {
                res = Some((*low_pc, *high_pc));
            }
        }
        res
    }
/// Checks if `address` is inside this subroutine's range. Returns
/// the range if that is the case.
Checks if `address` is inside this subroutine's range. Returns
the range if that is the case.
Checks if ` address ` is inside this subroutine ' s range . Returns the range if that is the case .
pub fn range_from_address(&self, address: u64) -> Option<(u64, u64)> {
        let mut res: Option<(u64, u64)> = None;
        for (low_pc, high_pc) in &self.ranges {
            if (low_pc <= &address) && (&address <= high_pc) {
                res = Some((*low_pc, *high_pc));
            }
        }
        res
    }
pub fn range_from_address ( & self , address : u64 ) -> Option < ( u64 , u64 ) > { let mut res : Option < ( u64 , u64 ) > = None ; for ( low_pc , high_pc ) in & self . ranges { if ( low_pc <= & address ) && ( & address <= high_pc ) { res = Some ( ( * low_pc , * high_pc ) ) ; } } res }
Checks if `address` is inside this subroutine's range.
Checks if ` address ` is inside this subroutine ' s range .
&self
address
u64
&self
address
u64