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§fn clone(&self) -> LocatedExpression
fn clone(&self) -> LocatedExpression
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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