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]
impl Clone for Assertion
fn clone(&self) -> Assertion
[src]
fn clone(&self) -> Assertion
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for Assertion
[src]
impl Debug for Assertion
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Eq for Assertion
[src]
impl Eq for Assertion
impl PartialEq for Assertion
[src]
impl PartialEq for Assertion