Trait safe_regex::internal::Machine[][src]

pub trait Machine {
    type GroupRanges;
    fn start(next_states: &mut HashSet<Self>)
    where
        Self: Sized
;
fn try_accept(&self) -> Option<Self::GroupRanges>;
fn make_next_states(&self, b: u8, n: u32, next_states: &mut HashSet<Self>)
    where
        Self: Sized
; fn match_all(data: &[u8]) -> Option<Groups<'_, Self::GroupRanges>>
    where
        Self: Eq + Hash + Debug + Sized,
        Self::GroupRanges: AsRef<[Range<u32>]> + Debug
, { ... } }

Associated Types

Loading content...

Required methods

fn start(next_states: &mut HashSet<Self>) where
    Self: Sized
[src]

fn try_accept(&self) -> Option<Self::GroupRanges>[src]

fn make_next_states(&self, b: u8, n: u32, next_states: &mut HashSet<Self>) where
    Self: Sized
[src]

Loading content...

Provided methods

fn match_all(data: &[u8]) -> Option<Groups<'_, Self::GroupRanges>> where
    Self: Eq + Hash + Debug + Sized,
    Self::GroupRanges: AsRef<[Range<u32>]> + Debug
[src]

Loading content...

Implementors

Loading content...