Enum SreOpcode

Source
#[repr(u32)]
pub enum SreOpcode {
Show 43 variants FAILURE = 0, SUCCESS = 1, ANY = 2, ANY_ALL = 3, ASSERT = 4, ASSERT_NOT = 5, AT = 6, BRANCH = 7, CATEGORY = 8, CHARSET = 9, BIGCHARSET = 10, GROUPREF = 11, GROUPREF_EXISTS = 12, IN = 13, INFO = 14, JUMP = 15, LITERAL = 16, MARK = 17, MAX_UNTIL = 18, MIN_UNTIL = 19, NOT_LITERAL = 20, NEGATE = 21, RANGE = 22, REPEAT = 23, REPEAT_ONE = 24, SUBPATTERN = 25, MIN_REPEAT_ONE = 26, ATOMIC_GROUP = 27, POSSESSIVE_REPEAT = 28, POSSESSIVE_REPEAT_ONE = 29, GROUPREF_IGNORE = 30, IN_IGNORE = 31, LITERAL_IGNORE = 32, NOT_LITERAL_IGNORE = 33, GROUPREF_LOC_IGNORE = 34, IN_LOC_IGNORE = 35, LITERAL_LOC_IGNORE = 36, NOT_LITERAL_LOC_IGNORE = 37, GROUPREF_UNI_IGNORE = 38, IN_UNI_IGNORE = 39, LITERAL_UNI_IGNORE = 40, NOT_LITERAL_UNI_IGNORE = 41, RANGE_UNI_IGNORE = 42,
}

Variants§

§

FAILURE = 0

§

SUCCESS = 1

§

ANY = 2

§

ANY_ALL = 3

§

ASSERT = 4

§

ASSERT_NOT = 5

§

AT = 6

§

BRANCH = 7

§

CATEGORY = 8

§

CHARSET = 9

§

BIGCHARSET = 10

§

GROUPREF = 11

§

GROUPREF_EXISTS = 12

§

IN = 13

§

INFO = 14

§

JUMP = 15

§

LITERAL = 16

§

MARK = 17

§

MAX_UNTIL = 18

§

MIN_UNTIL = 19

§

NOT_LITERAL = 20

§

NEGATE = 21

§

RANGE = 22

§

REPEAT = 23

§

REPEAT_ONE = 24

§

SUBPATTERN = 25

§

MIN_REPEAT_ONE = 26

§

ATOMIC_GROUP = 27

§

POSSESSIVE_REPEAT = 28

§

POSSESSIVE_REPEAT_ONE = 29

§

GROUPREF_IGNORE = 30

§

IN_IGNORE = 31

§

LITERAL_IGNORE = 32

§

NOT_LITERAL_IGNORE = 33

§

GROUPREF_LOC_IGNORE = 34

§

IN_LOC_IGNORE = 35

§

LITERAL_LOC_IGNORE = 36

§

NOT_LITERAL_LOC_IGNORE = 37

§

GROUPREF_UNI_IGNORE = 38

§

IN_UNI_IGNORE = 39

§

LITERAL_UNI_IGNORE = 40

§

NOT_LITERAL_UNI_IGNORE = 41

§

RANGE_UNI_IGNORE = 42

Trait Implementations§

Source§

impl Debug for SreOpcode

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl PartialEq for SreOpcode

Source§

fn eq(&self, other: &SreOpcode) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl TryFrom<u32> for SreOpcode

Source§

type Error = TryFromPrimitiveError<SreOpcode>

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

fn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>

Performs the conversion.
Source§

impl TryFromPrimitive for SreOpcode

Source§

impl Eq for SreOpcode

Source§

impl StructuralPartialEq for SreOpcode

Auto Trait Implementations§

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, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.