Struct regex_syntax::ast::ClassPerl [] [src]

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

A Perl character class.

Fields

The span of this class.

The kind of Perl class.

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

Trait Implementations

impl Clone for ClassPerl
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ClassPerl
[src]

Formats the value using the given formatter. Read more

impl Eq for ClassPerl
[src]

impl PartialEq for ClassPerl
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for ClassPerl

impl Sync for ClassPerl