Corrected example to to use Rand trait referenced in preceding
description and included an example using the Show trait to print ABC.
of type `ABC` can be randomly generated and converted to a string:
~~~
+extern crate rand;
+
#[deriving(Eq)]
struct Circle { radius: f64 }
-#[deriving(Clone, Show)]
+#[deriving(Rand, Show)]
enum ABC { A, B, C }
+
+fn main() {
+ // Use the Show trait to print "A, B, C."
+ println!("{}, {}, {}", A, B, C);
+}
~~~
The full list of derivable traits is `Eq`, `TotalEq`, `Ord`,