Struct regex_syntax::ast::Assertion  
source · pub struct Assertion {
    pub span: Span,
    pub kind: AssertionKind,
}Expand description
A single zero-width assertion.
Fields§
§span: SpanThe span of this assertion.
kind: AssertionKindThe assertion kind, e.g., \b or ^.
Trait Implementations§
source§impl<'arbitrary> Arbitrary<'arbitrary> for Assertion
 
impl<'arbitrary> Arbitrary<'arbitrary> for Assertion
source§fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
 
fn arbitrary(u: &mut Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of 
Self from the given unstructured data. Read moresource§fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
 
fn arbitrary_take_rest(u: Unstructured<'arbitrary>) -> Result<Self>
Generate an arbitrary value of 
Self from the entirety of the given
unstructured data. Read moresource§impl PartialEq for Assertion
 
impl PartialEq for Assertion
impl Eq for Assertion
impl StructuralEq for Assertion
impl StructuralPartialEq for Assertion
Auto Trait Implementations§
impl RefUnwindSafe for Assertion
impl Send for Assertion
impl Sync for Assertion
impl Unpin for Assertion
impl UnwindSafe for Assertion
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more