Struct regex_syntax::ast::ClassSetRange[][src]

pub struct ClassSetRange {
    pub span: Span,
    pub start: Literal,
    pub end: Literal,
}

A single character class range in a set.

Fields

The span of this range.

The start of this range.

The end of this range.

Methods

impl ClassSetRange
[src]

Returns true if and only if this character class range is valid.

The only case where a range is invalid is if its start is greater than its end.

Trait Implementations

impl Clone for ClassSetRange
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for ClassSetRange
[src]

Formats the value using the given formatter. Read more

impl Eq for ClassSetRange
[src]

impl PartialEq for ClassSetRange
[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 ClassSetRange

impl Sync for ClassSetRange