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 Assertionfn clone(&self) -> Assertion[src]
fn clone(&self) -> AssertionReturns 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 Assertionfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Eq for Assertion[src]
impl Eq for Assertionimpl PartialEq for Assertion[src]
impl PartialEq for Assertion