[][src]Struct fancy_regex_fork_pb::analyze::Info

pub struct Info<'a> {
    pub start_group: usize,
    pub end_group: usize,
    pub min_size: usize,
    pub const_size: bool,
    pub hard: bool,
    pub looks_left: bool,
    pub expr: &'a Expr,
    pub children: Vec<Info<'a>>,
}

Fields

start_group: usizeend_group: usizemin_size: usizeconst_size: boolhard: boollooks_left: bool

Whether the expression's matching could be dependent on what the previous character was. E.g. ^ matches if there's no previous character; (?m:^) matches if the previous character was a newline.

expr: &'a Exprchildren: Vec<Info<'a>>

Methods

impl<'a> Info<'a>[src]

pub fn is_literal(&self) -> bool[src]

pub fn push_literal(&self, buf: &mut String)[src]

Trait Implementations

impl<'a> Debug for Info<'a>[src]

Auto Trait Implementations

impl<'a> Sync for Info<'a>

impl<'a> Send for Info<'a>

impl<'a> Unpin for Info<'a>

impl<'a> RefUnwindSafe for Info<'a>

impl<'a> UnwindSafe for Info<'a>

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<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]