Trait cursive_core::builder::Resolvable
source · pub trait Resolvable {
// Provided methods
fn from_config(config: &Config, _context: &Context) -> Result<Self, Error>
where Self: Sized { ... }
fn from_any(any: Box<dyn Any>) -> Option<Self>
where Self: Sized + Any { ... }
}Expand description
Trait for types that can be resolved from a context.
They can be loaded from a config (yaml), or from a stored value (Box<Any>).