Enum hyperscan::expression::info::UnorderedMatchBehavior
source · #[repr(i8)]pub enum UnorderedMatchBehavior {
OnlyOrdered = 0,
AllowsUnordered = 1,
}Available on crate feature
compiler only.Expand description
Whether the expression can produce matches that are not returned in order, such as those produced by assertions.
Variants§
OnlyOrdered = 0
Disallows matches that are not returned in order.
AllowsUnordered = 1
Allows matches that are not returned in order.
Implementations§
source§impl UnorderedMatchBehavior
impl UnorderedMatchBehavior
pub const fn from_native(x: c_char) -> Self
Trait Implementations§
source§impl Clone for UnorderedMatchBehavior
impl Clone for UnorderedMatchBehavior
source§fn clone(&self) -> UnorderedMatchBehavior
fn clone(&self) -> UnorderedMatchBehavior
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for UnorderedMatchBehavior
impl Debug for UnorderedMatchBehavior
source§impl Display for UnorderedMatchBehavior
impl Display for UnorderedMatchBehavior
source§impl From<UnorderedMatchBehavior> for i8
impl From<UnorderedMatchBehavior> for i8
source§fn from(enum_value: UnorderedMatchBehavior) -> Self
fn from(enum_value: UnorderedMatchBehavior) -> Self
Converts to this type from the input type.
source§impl From<i8> for UnorderedMatchBehavior
impl From<i8> for UnorderedMatchBehavior
source§impl Hash for UnorderedMatchBehavior
impl Hash for UnorderedMatchBehavior
source§impl Ord for UnorderedMatchBehavior
impl Ord for UnorderedMatchBehavior
source§fn cmp(&self, other: &UnorderedMatchBehavior) -> Ordering
fn cmp(&self, other: &UnorderedMatchBehavior) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for UnorderedMatchBehavior
impl PartialEq for UnorderedMatchBehavior
source§fn eq(&self, other: &UnorderedMatchBehavior) -> bool
fn eq(&self, other: &UnorderedMatchBehavior) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for UnorderedMatchBehavior
impl PartialOrd for UnorderedMatchBehavior
source§fn partial_cmp(&self, other: &UnorderedMatchBehavior) -> Option<Ordering>
fn partial_cmp(&self, other: &UnorderedMatchBehavior) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for UnorderedMatchBehavior
impl Eq for UnorderedMatchBehavior
impl StructuralEq for UnorderedMatchBehavior
impl StructuralPartialEq for UnorderedMatchBehavior
Auto Trait Implementations§
impl RefUnwindSafe for UnorderedMatchBehavior
impl Send for UnorderedMatchBehavior
impl Sync for UnorderedMatchBehavior
impl Unpin for UnorderedMatchBehavior
impl UnwindSafe for UnorderedMatchBehavior
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.