title: How to convert hex string to a float in Rust?
body: <p>What's the most straightforward way to convert a hex string into a float? <em>(without using 3rd party crates)</em>.</p>
  
  <p>Does Rust provide some equivalent to Python's <code>struct.unpack('!f', bytes.fromhex('41973333'))</code></p>
  
  <hr>
  
  <p>See this question for <a href="https://stackoverflow.com/questions/1592158">Python</a> &amp; <a href="https://stackoverflow.com/questions/1071904">Java</a>, mentioning for reference.</p>