Enum regex_syntax::ast::ClassPerlKind
source · pub enum ClassPerlKind {
Digit,
Space,
Word,
}
Expand description
The available Perl character classes.
Variants§
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for ClassPerlKind
impl<'arbitrary> Arbitrary<'arbitrary> for ClassPerlKind
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of
Self
from the entirety of the given
unstructured data. Read moresource§impl Clone for ClassPerlKind
impl Clone for ClassPerlKind
source§fn clone(&self) -> ClassPerlKind
fn clone(&self) -> ClassPerlKind
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 ClassPerlKind
impl Debug for ClassPerlKind
source§impl PartialEq<ClassPerlKind> for ClassPerlKind
impl PartialEq<ClassPerlKind> for ClassPerlKind
source§fn eq(&self, other: &ClassPerlKind) -> bool
fn eq(&self, other: &ClassPerlKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ClassPerlKind
impl StructuralEq for ClassPerlKind
impl StructuralPartialEq for ClassPerlKind
Auto Trait Implementations§
impl RefUnwindSafe for ClassPerlKind
impl Send for ClassPerlKind
impl Sync for ClassPerlKind
impl Unpin for ClassPerlKind
impl UnwindSafe for ClassPerlKind
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