/// Try to get a reference to the given register. Returns an error if the register is not present in any of the register collections.
Try to get a reference to the given register. Returns an error if the register is not present in any of the register collections.
Try to get a reference to the given register . Returns an error if the register is not present in any of the register collections .
pub fn register_ref(&self, register: gimli::Register) -> Result<&RB, MissingRegisterError> {
        self.register_data
            .iter()
            .find_map(|registers| registers.register_ref(register))
            .ok_or(MissingRegisterError(register))
    }
pub fn register_ref ( & self , register : gimli :: Register ) -> Result < & RB , MissingRegisterError > { self . register_data . iter ( ) . find_map ( | registers | registers . register_ref ( register ) ) . ok_or ( MissingRegisterError ( register ) ) }
Try to get a reference to the given register.
Try to get a reference to the given register .
&self
register
gimli::Register