pub struct LocExpr(pub Rc<Expr>, pub Option<ExprLocation>);Expand description
Holds AST expression and its location in source file
Tuple Fields§
§0: Rc<Expr>§1: Option<ExprLocation>Trait Implementations§
impl StructuralPartialEq for LocExpr
Auto Trait Implementations§
impl !Send for LocExpr
impl !Sync for LocExpr
impl Freeze for LocExpr
impl RefUnwindSafe for LocExpr
impl Unpin for LocExpr
impl UnsafeUnpin for LocExpr
impl UnwindSafe for LocExpr
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