Struct regex_syntax::ast::Assertion
[−]
[src]
pub struct Assertion { pub span: Span, pub kind: AssertionKind, }
A single zero-width assertion.
Fields
span: Span
The span of this assertion.
kind: AssertionKind
The assertion kind, e.g., \b
or ^
.
Trait Implementations
impl Clone for Assertion
[src]
fn clone(&self) -> Assertion
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for Assertion
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more