pub struct Expr<'bump> {
pub kind: &'bump ExprKind<'bump>,
pub span: SimpleSpan,
}Fields§
§kind: &'bump ExprKind<'bump>§span: SimpleSpanTrait Implementations§
impl<'bump> Copy for Expr<'bump>
Auto Trait Implementations§
impl<'bump> Freeze for Expr<'bump>
impl<'bump> RefUnwindSafe for Expr<'bump>
impl<'bump> Send for Expr<'bump>
impl<'bump> Sync for Expr<'bump>
impl<'bump> Unpin for Expr<'bump>
impl<'bump> UnsafeUnpin for Expr<'bump>
impl<'bump> UnwindSafe for Expr<'bump>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.