Struct hairy::ExprySpanner
source · [−]pub struct ExprySpanner { /* 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 }
encountered
that is not started inside the expression.
Implementations
sourceimpl ExprySpanner
impl ExprySpanner
Trait Implementations
sourceimpl Default for ExprySpanner
impl Default for ExprySpanner
Auto Trait Implementations
impl RefUnwindSafe for ExprySpanner
impl Send for ExprySpanner
impl Sync for ExprySpanner
impl Unpin for ExprySpanner
impl UnwindSafe for ExprySpanner
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more