Struct regex_syntax::ast::Assertion [] [src]

pub struct Assertion {
    pub span: Span,
    pub kind: AssertionKind,
}

A single zero-width assertion.

Fields

The span of this assertion.

The assertion kind, e.g., \b or ^.

Trait Implementations

impl Clone for Assertion
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Assertion
[src]

Formats the value using the given formatter. Read more

impl Eq for Assertion
[src]

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

impl Sync for Assertion