Struct genet_abi::context::Context [−][src]
#[repr(C)]pub struct Context { /* fields omitted */ }
A context object.
Methods
impl Context
[src]
impl Context
pub fn new(config: FnvHashMap<String, String>) -> Context
[src]
pub fn new(config: FnvHashMap<String, String>) -> Context
Creates a new Context.
pub fn get_config(&self, key: &str) -> &str
[src]
pub fn get_config(&self, key: &str) -> &str
Returns a config value in the current profile.