Struct workcache::Context
pub struct Context { db: Arc<RWLock<Database>>, // some fields omitted }
Fields
db |
pub struct Context { db: Arc<RWLock<Database>>, // some fields omitted }
db |
impl Context
fn new(db: Arc<RWLock<Database>>, cfg: Arc<Object>) -> Context
fn new_with_freshness(db: Arc<RWLock<Database>>, 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: |p: &mut Prep| -> T) -> T
impl Clone for 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
).