[][src]Struct pelite::pe64::scanner::Matches

pub struct Matches<'pat, P> { /* fields omitted */ }

An iterator over the matches of a pattern.

Created with the method matches.

Methods

impl<'a, 'pat, P: Pe<'a>> Matches<'pat, P>[src]

pub fn scanner(&self) -> Scanner<P>[src]

Gets the scanner instance.

pub fn pattern(&self) -> &'pat [Atom][src]

Gets the pattern.

pub fn range(&self) -> Range<Rva>[src]

Gets the remaining range to scan.

pub fn hits(&self) -> u32[src]

Performance counter.

Number of times the slow exec was invoked.

pub fn next(&mut self, save: &mut [Rva]) -> bool[src]

Finds the next match with the given save array.

Trait Implementations

impl<'pat, P: Clone> Clone for Matches<'pat, P>[src]

Auto Trait Implementations

impl<'pat, P> Sync for Matches<'pat, P> where
    P: Sync

impl<'pat, P> Send for Matches<'pat, P> where
    P: Send

impl<'pat, P> Unpin for Matches<'pat, P> where
    P: Unpin

impl<'pat, P> UnwindSafe for Matches<'pat, P> where
    P: UnwindSafe

impl<'pat, P> RefUnwindSafe for Matches<'pat, P> where
    P: RefUnwindSafe

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]