Struct rdb::filter::Simple
[-] [+]
[src]
pub struct Simple { // some fields omitted }
pub struct Simple { // some fields omitted }
impl Simple
fn new() -> Simple
fn add_database(&mut self, db: u32)
fn add_type(&mut self, typ: Type)
fn add_keys(&mut self, re: Regex)
impl Filter for Simple
fn matches_db(&self, db: u32) -> bool
fn matches_type(&self, enc_type: u8) -> bool
fn matches_key(&self, key: &[u8]) -> bool
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
, enum
,
trait
, typedef
(or
tdef
).