pub struct ExpressionStatement<'ast> {
pub expression: Expression<'ast>,
pub line_end: LineEnd,
pub span: Span<'ast>,
}Fields§
§expression: Expression<'ast>§line_end: LineEnd§span: Span<'ast>Trait Implementations§
Source§impl<'ast> Clone for ExpressionStatement<'ast>
impl<'ast> Clone for ExpressionStatement<'ast>
Source§fn clone(&self) -> ExpressionStatement<'ast>
fn clone(&self) -> ExpressionStatement<'ast>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'ast> Debug for ExpressionStatement<'ast>
impl<'ast> Debug for ExpressionStatement<'ast>
Source§impl<'ast> FromPest<'ast> for ExpressionStatement<'ast>
impl<'ast> FromPest<'ast> for ExpressionStatement<'ast>
Source§impl<'ast> PartialEq for ExpressionStatement<'ast>
impl<'ast> PartialEq for ExpressionStatement<'ast>
Source§impl<'ast> Serialize for ExpressionStatement<'ast>
impl<'ast> Serialize for ExpressionStatement<'ast>
impl<'ast> StructuralPartialEq for ExpressionStatement<'ast>
Auto Trait Implementations§
impl<'ast> Freeze for ExpressionStatement<'ast>
impl<'ast> RefUnwindSafe for ExpressionStatement<'ast>
impl<'ast> Send for ExpressionStatement<'ast>
impl<'ast> Sync for ExpressionStatement<'ast>
impl<'ast> Unpin for ExpressionStatement<'ast>
impl<'ast> UnwindSafe for ExpressionStatement<'ast>
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