pub fn details(instruction: &capstone::Instr) -> Result<capstone::cs_ppc> {
    let detail = instruction.detail.as_ref().unwrap();
    match detail.arch {
        capstone::DetailsArch::PPC(x) => Ok(x),
        _ => Err("Could not get instruction details".into()),
    }
}
/// Returns the details section of a mips capstone instruction.
Returns the details section of a mips capstone instruction.
Returns the details section of a mips capstone instruction .
pub fn details(instruction: &capstone::Instr) -> Result<capstone::cs_ppc> {
    let detail = instruction.detail.as_ref().unwrap();
    match detail.arch {
        capstone::DetailsArch::PPC(x) => Ok(x),
        _ => Err("Could not get instruction details".into()),
    }
}
pub fn details ( instruction : & capstone :: Instr ) -> Result < capstone :: cs_ppc > { let detail = instruction . detail . as_ref ( ) . unwrap ( ) ; match detail . arch { capstone :: DetailsArch :: PPC ( x ) => Ok ( x ) , _ => Err ( " " . into ( ) ) , } }
Returns the details section of a mips capstone instruction.
Returns the details section of a mips capstone instruction .
instruction
&capstone::Instr
instruction
&capstone::Instr