paris/formatter/keys/
from_key.rs

1pub trait FromKey {
2    /// Define your own implementation of how
3    /// a given key will return the type that
4    /// implements it. A wrapper around FromStr
5    /// in case the key returns different things based
6    /// on some internal value.
7    fn from_key(key: &str) -> Option<String>;
8}