Debian Codegraph @

src/regex.rs

raw symbols SCIP
1 use craterust-analyzer cargo jsonschema 0.37.4 crate/::threadrust-analyzer cargo jsonschema 0.37.4 thread/::ThreadBoundrust-analyzer cargo jsonschema 0.37.4 thread/ThreadBound#;
2
3 pub(craterust-analyzer cargo jsonschema 0.37.4 crate/) trait RegexEnginerust-analyzer cargo jsonschema 0.37.4 regex/RegexEngine#: Sizedrust-analyzer cargo core https://github.com/rust-lang/rust/library/core marker/Sized# + ThreadBoundrust-analyzer cargo jsonschema 0.37.4 thread/ThreadBound# {
4 type Errorrust-analyzer cargo jsonschema 0.37.4 regex/RegexEngine#Error#: RegexErrorrust-analyzer cargo jsonschema 0.37.4 regex/RegexError#;
5 fn is_matchrust-analyzer cargo jsonschema 0.37.4 regex/RegexEngine#is_match().(&self, text: &str) -> Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#<bool, Self::Errorrust-analyzer cargo jsonschema 0.37.4 regex/RegexEngine#Error#>;
6
7 fn patternrust-analyzer cargo jsonschema 0.37.4 regex/RegexEngine#pattern().(&self) -> &str;
8 }
9
10 impl RegexEnginerust-analyzer cargo jsonschema 0.37.4 regex/RegexEngine# for fancy_regexrust-analyzer cargo fancy-regex 0.11.0 crate/::Regexrust-analyzer cargo fancy-regex 0.11.0 Regex# {
11 type Errorrust-analyzer cargo jsonschema 0.37.4 regex/impl#[`fancy_regex::Regex`][RegexEngine]Error# = fancy_regexrust-analyzer cargo fancy-regex 0.11.0 crate/::Errorrust-analyzer cargo fancy-regex 0.11.0 error/Error#;
12
13 fn is_matchrust-analyzer cargo jsonschema 0.37.4 regex/impl#[`fancy_regex::Regex`][RegexEngine]is_match().(&self, text: &str) -> Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#<bool, Selfrust-analyzer cargo jsonschema 0.37.4 regex/impl#[`fancy_regex::Regex`][RegexEngine]::Errorrust-analyzer cargo jsonschema 0.37.4 regex/RegexEngine#Error#> {
14 fancy_regexrust-analyzer cargo fancy-regex 0.11.0 crate/::Regexrust-analyzer cargo fancy-regex 0.11.0 Regex#::is_matchrust-analyzer cargo fancy-regex 0.11.0 impl#[Regex]is_match().(self, text)
15 }
16
17 fn patternrust-analyzer cargo jsonschema 0.37.4 regex/impl#[`fancy_regex::Regex`][RegexEngine]pattern().(&self) -> &str {
18 self.as_strrust-analyzer cargo fancy-regex 0.11.0 impl#[Regex]as_str().()
19 }
20 }
21
22 impl RegexEnginerust-analyzer cargo jsonschema 0.37.4 regex/RegexEngine# for regexrust-analyzer cargo regex 1.12.2 crate/::Regexrust-analyzer cargo regex 1.12.2 regex/string/Regex# {
23 type Errorrust-analyzer cargo jsonschema 0.37.4 regex/impl#[`regex::Regex`][RegexEngine]Error# = regexrust-analyzer cargo regex 1.12.2 crate/::Errorrust-analyzer cargo regex 1.12.2 error/Error#;
24
25 fn is_matchrust-analyzer cargo jsonschema 0.37.4 regex/impl#[`regex::Regex`][RegexEngine]is_match().(&self, text: &str) -> Resultrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#<bool, Selfrust-analyzer cargo jsonschema 0.37.4 regex/impl#[`regex::Regex`][RegexEngine]::Errorrust-analyzer cargo jsonschema 0.37.4 regex/RegexEngine#Error#> {
26 Okrust-analyzer cargo core https://github.com/rust-lang/rust/library/core result/Result#Ok#(regexrust-analyzer cargo regex 1.12.2 crate/::Regexrust-analyzer cargo regex 1.12.2 regex/string/Regex#::is_matchrust-analyzer cargo regex 1.12.2 regex/string/impl#[Regex]is_match().(self, text))
27 }
28
29 fn patternrust-analyzer cargo jsonschema 0.37.4 regex/impl#[`regex::Regex`][RegexEngine]pattern().(&self) -> &str {
30 self.as_strrust-analyzer cargo regex 1.12.2 regex/string/impl#[Regex]as_str().()
31 }
32 }
33
34 pub(craterust-analyzer cargo jsonschema 0.37.4 crate/) trait RegexErrorrust-analyzer cargo jsonschema 0.37.4 regex/RegexError# {
35 fn into_backtrack_errorrust-analyzer cargo jsonschema 0.37.4 regex/RegexError#into_backtrack_error().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<fancy_regexrust-analyzer cargo fancy-regex 0.11.0 crate/::Errorrust-analyzer cargo fancy-regex 0.11.0 error/Error#>;
36 }
37
38 impl RegexErrorrust-analyzer cargo jsonschema 0.37.4 regex/RegexError# for fancy_regexrust-analyzer cargo fancy-regex 0.11.0 crate/::Errorrust-analyzer cargo fancy-regex 0.11.0 error/Error# {
39 fn into_backtrack_errorrust-analyzer cargo jsonschema 0.37.4 regex/impl#[`fancy_regex::Error`][RegexError]into_backtrack_error().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<fancy_regexrust-analyzer cargo fancy-regex 0.11.0 crate/::Errorrust-analyzer cargo fancy-regex 0.11.0 error/Error#> {
40 Somerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#Some#(self)
41 }
42 }
43
44 impl RegexErrorrust-analyzer cargo jsonschema 0.37.4 regex/RegexError# for regexrust-analyzer cargo regex 1.12.2 crate/::Errorrust-analyzer cargo regex 1.12.2 error/Error# {
45 fn into_backtrack_errorrust-analyzer cargo jsonschema 0.37.4 regex/impl#[`regex::Error`][RegexError]into_backtrack_error().(self) -> Optionrust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#<fancy_regexrust-analyzer cargo fancy-regex 0.11.0 crate/::Errorrust-analyzer cargo fancy-regex 0.11.0 error/Error#> {
46 Nonerust-analyzer cargo core https://github.com/rust-lang/rust/library/core option/Option#None#
47 }
48 }