Skip to main content

extract_operand_const

Function extract_operand_const 

Source
pub fn extract_operand_const(operand: &Operand<'_>) -> Option<u64>
Expand description

Extract a constant u64 value from an operand, if it’s a known constant.