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

Variants§

§

FAILURE = 0

§

SUCCESS = 1

§

ANY = 2

§

ANY_ALL = 3

§

ASSERT = 4

§

ASSERT_NOT = 5

§

AT = 6

§

BRANCH = 7

§

CALL = 8

§

CATEGORY = 9

§

CHARSET = 10

§

BIGCHARSET = 11

§

GROUPREF = 12

§

GROUPREF_EXISTS = 13

§

IN = 14

§

INFO = 15

§

JUMP = 16

§

LITERAL = 17

§

MARK = 18

§

MAX_UNTIL = 19

§

MIN_UNTIL = 20

§

NOT_LITERAL = 21

§

NEGATE = 22

§

RANGE = 23

§

REPEAT = 24

§

REPEAT_ONE = 25

§

SUBPATTERN = 26

§

MIN_REPEAT_ONE = 27

§

GROUPREF_IGNORE = 28

§

IN_IGNORE = 29

§

LITERAL_IGNORE = 30

§

NOT_LITERAL_IGNORE = 31

§

GROUPREF_LOC_IGNORE = 32

§

IN_LOC_IGNORE = 33

§

LITERAL_LOC_IGNORE = 34

§

NOT_LITERAL_LOC_IGNORE = 35

§

GROUPREF_UNI_IGNORE = 36

§

IN_UNI_IGNORE = 37

§

LITERAL_UNI_IGNORE = 38

§

NOT_LITERAL_UNI_IGNORE = 39

§

RANGE_UNI_IGNORE = 40

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 TryFrom<u32> for SreOpcode

§

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

§

type Primitive = u32

source§

const NAME: &'static str = "SreOpcode"

source§

fn try_from_primitive( number: Self::Primitive ) -> Result<Self, TryFromPrimitiveError<Self>>

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>,

§

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>,

§

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.