pub struct Context { db: RWArc<Database>, logger: RWArc<Logger>, cfg: Arc<Object>, freshness: Arc<FreshnessMap>, }
impl Context
fn new(db: RWArc<Database>, lg: RWArc<Logger>, cfg: Arc<Object>) -> Context
fn new_with_freshness(db: RWArc<Database>, lg: RWArc<Logger>, cfg: Arc<Object>, freshness: Arc<FreshnessMap>) -> Context
fn prep<'a>(&'a self, fn_name: &'a str) -> Prep<'a>
fn with_prep<'a, T>(&'a self, fn_name: &'a str, blk: &fn(p: &mut Prep) -> T) -> T
impl std::clone::Clone for Context
fn clone(&self) -> Context
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
(or str
), enum
,
trait
, typedef
(or
tdef
).