Struct ClassPerl

pub struct ClassPerl { pub span: Span, pub kind: ClassPerlKind, pub negated: bool }

A Perl character class.

Fields

span: Span

The span of this class.

kind: ClassPerlKind

The kind of Perl class.

negated: bool

Whether the class is negated or not. e.g., \d is not negated but \D is.

Trait Implementations

impl Clone for ClassPerl

fn clone(&self) -> Self

impl Debug for ClassPerl

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

impl Eq for ClassPerl

impl PartialEq for ClassPerl

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

impl StructuralPartialEq for ClassPerl

Auto Trait Implementations

impl Freeze for ClassPerl

impl RefUnwindSafe for ClassPerl

impl Send for ClassPerl

impl Sync for ClassPerl

impl Unpin for ClassPerl

impl UnsafeUnpin for ClassPerl

impl UnwindSafe for ClassPerl

Blanket Implementations

impl<T> Any for ClassPerl where T: 'static + ?Sized,

impl<T> Borrow<T> for ClassPerl where T: ?Sized,

impl<T> BorrowMut<T> for ClassPerl where T: ?Sized,

impl<T> CloneToUninit for ClassPerl where T: Clone,

impl<T> From<T> for ClassPerl

impl<T> ToOwned for ClassPerl where T: Clone,

impl<T, U> Into<U> for ClassPerl where U: From<T>,

impl<T, U> TryFrom<U> for ClassPerl where U: Into<T>,

impl<T, U> TryInto<U> for ClassPerl where U: TryFrom<T>,