title: How do you access enum values in Rust?
body: <pre><code>struct Point {
      x: f64,
      y: f64,
  }
  
  enum Shape {
      Circle(Point, f64),
      Rectangle(Point, Point),
  }
  
  let my_shape = Shape::Circle(Point { x: 0.0, y: 0.0 }, 10.0);
  </code></pre>
  
  <p>I want to print out <code>circle</code>'s second property, which is 10.0 here.
  I tried <code>my_shape.last</code> and <code>my_shape.second</code>, but neither worked.</p>
  
  <p>What should I do in order to print out 10.0 in this case?</p>