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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Assertion
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Assertion
[src]

impl PartialEq for Assertion
[src]

[src]

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

[src]

This method tests for !=.

Auto Trait Implementations

impl Send for Assertion

impl Sync for Assertion