Struct hairy::ExprySpanner
source · pub struct ExprySpanner<'a> { /* private fields */ }
Expand description
Recognizes expressions by counting the {
, }
, [
, ]
, (
, )
, and "
. Does not support advanced
string literals such as raw strings (e.g. r##" " "##
). Stops at first ]
or }
or )
encountered
that is not started inside the expression.
Implementations§
Trait Implementations§
source§impl Default for ExprySpanner<'static>
impl Default for ExprySpanner<'static>
Auto Trait Implementations§
impl<'a> Freeze for ExprySpanner<'a>
impl<'a> RefUnwindSafe for ExprySpanner<'a>
impl<'a> Send for ExprySpanner<'a>
impl<'a> Sync for ExprySpanner<'a>
impl<'a> Unpin for ExprySpanner<'a>
impl<'a> UnwindSafe for ExprySpanner<'a>
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