Enum sre_engine::constants::SreOpcode
source · [−]#[repr(u32)]
pub enum SreOpcode {
Show 41 variants
FAILURE,
SUCCESS,
ANY,
ANY_ALL,
ASSERT,
ASSERT_NOT,
AT,
BRANCH,
CALL,
CATEGORY,
CHARSET,
BIGCHARSET,
GROUPREF,
GROUPREF_EXISTS,
IN,
INFO,
JUMP,
LITERAL,
MARK,
MAX_UNTIL,
MIN_UNTIL,
NOT_LITERAL,
NEGATE,
RANGE,
REPEAT,
REPEAT_ONE,
SUBPATTERN,
MIN_REPEAT_ONE,
GROUPREF_IGNORE,
IN_IGNORE,
LITERAL_IGNORE,
NOT_LITERAL_IGNORE,
GROUPREF_LOC_IGNORE,
IN_LOC_IGNORE,
LITERAL_LOC_IGNORE,
NOT_LITERAL_LOC_IGNORE,
GROUPREF_UNI_IGNORE,
IN_UNI_IGNORE,
LITERAL_UNI_IGNORE,
NOT_LITERAL_UNI_IGNORE,
RANGE_UNI_IGNORE,
}
Variants
FAILURE
SUCCESS
ANY
ANY_ALL
ASSERT
ASSERT_NOT
AT
BRANCH
CALL
CATEGORY
CHARSET
BIGCHARSET
GROUPREF
GROUPREF_EXISTS
IN
INFO
JUMP
LITERAL
MARK
MAX_UNTIL
MIN_UNTIL
NOT_LITERAL
NEGATE
RANGE
REPEAT
REPEAT_ONE
SUBPATTERN
MIN_REPEAT_ONE
GROUPREF_IGNORE
IN_IGNORE
LITERAL_IGNORE
NOT_LITERAL_IGNORE
GROUPREF_LOC_IGNORE
IN_LOC_IGNORE
LITERAL_LOC_IGNORE
NOT_LITERAL_LOC_IGNORE
GROUPREF_UNI_IGNORE
IN_UNI_IGNORE
LITERAL_UNI_IGNORE
NOT_LITERAL_UNI_IGNORE
RANGE_UNI_IGNORE
Trait Implementations
sourceimpl TryFrom<u32> for SreOpcode
impl TryFrom<u32> for SreOpcode
type Error = TryFromPrimitiveError<SreOpcode>
type Error = TryFromPrimitiveError<SreOpcode>
The type returned in the event of a conversion error.
sourcefn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
fn try_from(number: u32) -> Result<Self, TryFromPrimitiveError<Self>>
Performs the conversion.
sourceimpl TryFromPrimitive for SreOpcode
impl TryFromPrimitive for SreOpcode
type Primitive = u32
const NAME: &'static str = _
fn try_from_primitive(
number: Self::Primitive
) -> Result<Self, TryFromPrimitiveError<Self>>
Auto Trait Implementations
impl RefUnwindSafe for SreOpcode
impl Send for SreOpcode
impl Sync for SreOpcode
impl Unpin for SreOpcode
impl UnwindSafe for SreOpcode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more