Struct cargo_fmt::str::pattern::StrSearcher [−][src]
pub struct StrSearcher<'a, 'b> {
haystack: &'a str,
needle: &'b str,
searcher: StrSearcherImpl,
}🔬 This is a nightly-only experimental API. (pattern)
API not fully fleshed out and ready to be stabilized
Expand description
Associated type for <&str as Pattern<'a>>::Searcher.
Fields
haystack: &'a str🔬 This is a nightly-only experimental API. (pattern)
API not fully fleshed out and ready to be stabilized
needle: &'b str🔬 This is a nightly-only experimental API. (pattern)
API not fully fleshed out and ready to be stabilized
searcher: StrSearcherImpl🔬 This is a nightly-only experimental API. (pattern)
API not fully fleshed out and ready to be stabilized
Trait Implementations
🔬 This is a nightly-only experimental API. (pattern)
API not fully fleshed out and ready to be stabilized
Performs the next search step starting from the back. Read more
🔬 This is a nightly-only experimental API. (pattern)
API not fully fleshed out and ready to be stabilized
Finds the next Match result.
See next_back(). Read more
🔬 This is a nightly-only experimental API. (pattern)
API not fully fleshed out and ready to be stabilized
Finds the next Reject result.
See next_back(). Read more
🔬 This is a nightly-only experimental API. (pattern)
API not fully fleshed out and ready to be stabilized
Getter for the underlying string to be searched in Read more
🔬 This is a nightly-only experimental API. (pattern)
API not fully fleshed out and ready to be stabilized
Performs the next search step starting from the front. Read more
🔬 This is a nightly-only experimental API. (pattern)
API not fully fleshed out and ready to be stabilized
Auto Trait Implementations
impl<'a, 'b> RefUnwindSafe for StrSearcher<'a, 'b>
impl<'a, 'b> Send for StrSearcher<'a, 'b>
impl<'a, 'b> Sync for StrSearcher<'a, 'b>
impl<'a, 'b> Unpin for StrSearcher<'a, 'b>
impl<'a, 'b> UnwindSafe for StrSearcher<'a, 'b>
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 104 bytes