Converts a string to a typed atom.
(&self, s: &str)
| 85 | |
| 86 | /// Converts a string to a typed atom. |
| 87 | pub fn atom_from_str(&self, s: &str) -> Atom<T> { |
| 88 | Atom::new(self.str_to_bits(s)) |
| 89 | } |
| 90 | |
| 91 | /// Converts raw bits to a typed atom. |
| 92 | pub fn atom_from_bits(&self, bits: u32) -> Atom<T> { |