(&self, keyword: &str)
| 179 | /// Blanket implementation so any AtomSet can be used as a DynAtomSet |
| 180 | impl<T: AtomSet + Clone + 'static> DynAtomSet for T { |
| 181 | fn str_to_bits(&self, keyword: &str) -> u32 { |
| 182 | T::from_str(keyword).as_bits() |
| 183 | } |
| 184 | |
| 185 | fn bits_to_str(&self, bits: u32) -> &'static str { |
| 186 | T::from_bits(bits).to_str() |
no test coverage detected