Skip to main content

Inst

Enum Inst 

Source
enum Inst {
Show 27 variants Char(u32, bool), CharRev(u32, bool), Any(bool), AnyRev(bool), Class(ClassData, bool), ClassRev(ClassData, bool), VClass(VSet, bool), VClassRev(VSet, bool), RepeatAtom { atom: AtomKind, min: usize, max: Option<usize>, greedy: bool, ic: bool, }, RepeatAtomRev { atom: AtomKind, min: usize, max: Option<usize>, greedy: bool, ic: bool, }, CounterReset(usize), CounterStep { slot: usize, min: usize, max: Option<usize>, greedy: bool, body: usize, after: usize, clear: Option<(usize, usize)>, loop_slot: Option<usize>, }, Match, Jmp(usize), Split(usize, usize), Save(usize), AssertStart(bool), AssertEnd(bool), WordBoundary(bool, bool), Backref(usize, bool), BackrefRev(usize, bool), NamedBackref(Vec<usize>, bool), NamedBackrefRev(Vec<usize>, bool), Look { ahead: bool, negate: bool, next: usize, }, ClearCaps(usize, usize), LoopStart(usize), LoopCheck(usize),
}

Variants§

§

Char(u32, bool)

§

CharRev(u32, bool)

§

Any(bool)

§

AnyRev(bool)

§

Class(ClassData, bool)

§

ClassRev(ClassData, bool)

§

VClass(VSet, bool)

§

VClassRev(VSet, bool)

§

RepeatAtom

Fields

§min: usize
§greedy: bool
§ic: bool
§

RepeatAtomRev

Fields

§min: usize
§greedy: bool
§ic: bool
§

CounterReset(usize)

§

CounterStep

Fields

§slot: usize
§min: usize
§greedy: bool
§body: usize
§after: usize
§clear: Option<(usize, usize)>
§loop_slot: Option<usize>
§

Match

§

Jmp(usize)

§

Split(usize, usize)

§

Save(usize)

§

AssertStart(bool)

§

AssertEnd(bool)

§

WordBoundary(bool, bool)

§

Backref(usize, bool)

§

BackrefRev(usize, bool)

§

NamedBackref(Vec<usize>, bool)

§

NamedBackrefRev(Vec<usize>, bool)

§

Look

Fields

§ahead: bool
§negate: bool
§next: usize
§

ClearCaps(usize, usize)

§

LoopStart(usize)

§

LoopCheck(usize)

Auto Trait Implementations§

§

impl Freeze for Inst

§

impl RefUnwindSafe for Inst

§

impl Send for Inst

§

impl Sync for Inst

§

impl Unpin for Inst

§

impl UnsafeUnpin for Inst

§

impl UnwindSafe for Inst

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.