Struct Assertion
pub struct Assertion { pub span: Span, pub kind: AssertionKind }
A single zero-width assertion.
Fields
span: SpanThe span of this assertion.
kind: AssertionKindThe assertion kind, e.g.,
\bor^.
Trait Implementations
impl Clone for Assertion
fn clone(&self) -> Self
impl Debug for Assertion
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for Assertion
impl PartialEq for Assertion
fn eq(&self, other: &Self) -> bool