Files
aho_corasick
base64
bech32
bitcoin
bitcoin_hashes
byteorder
cfg_if
crypto
env_logger
itoa
jsonrpc
lazy_static
libc
log
memchr
opentimestamps
proc_macro2
quote
rand
regex
regex_syntax
rust_docs
rustc_serialize
ryu
secp256k1
secp256k1_sys
serde
serde_derive
serde_json
strason
syn
thread_local
time
ucd_util
unicode_xid
utf8_ranges
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
use syntax::hir::literal::Literals;

#[derive(Debug, Clone)]
pub struct Teddy(());

#[derive(Debug, Clone)]
pub struct Match {
    pub pat: usize,
    pub start: usize,
    pub end: usize,
}

impl Teddy {
    pub fn available() -> bool { false }
    pub fn new(_pats: &Literals) -> Option<Teddy> { None }
    pub fn patterns(&self) -> &[Vec<u8>] { &[] }
    pub fn len(&self) -> usize { 0 }
    pub fn approximate_size(&self) -> usize { 0 }
    pub fn find(&self, _haystack: &[u8]) -> Option<Match> { None }
}