pub struct LocatedExpression {
pub expression: Expression,
pub range: Range<usize>,
}Expand description
An expression with its location in the source string.
Fields§
§expression: ExpressionThe parsed expression
range: Range<usize>Byte range in the source string
Trait Implementations§
Source§impl Clone for LocatedExpression
impl Clone for LocatedExpression
Source§impl Debug for LocatedExpression
impl Debug for LocatedExpression
Source§impl PartialEq for LocatedExpression
impl PartialEq for LocatedExpression
impl StructuralPartialEq for LocatedExpression
Auto Trait Implementations§
impl Freeze for LocatedExpression
impl RefUnwindSafe for LocatedExpression
impl Send for LocatedExpression
impl Sync for LocatedExpression
impl Unpin for LocatedExpression
impl UnsafeUnpin for LocatedExpression
impl UnwindSafe for LocatedExpression
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