pub struct AstExpression {
pub kind: ExprKind,
pub span: SourceSpan,
}Fields§
§kind: ExprKind§span: SourceSpanImplementations§
Source§impl AstExpression
impl AstExpression
pub fn new(kind: ExprKind, span: SourceSpan) -> Self
Trait Implementations§
Source§impl Clone for AstExpression
impl Clone for AstExpression
Source§fn clone(&self) -> AstExpression
fn clone(&self) -> AstExpression
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 AstExpression
impl Debug for AstExpression
Source§impl<'de> Deserialize<'de> for AstExpression
impl<'de> Deserialize<'de> for AstExpression
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AstExpression
impl PartialEq for AstExpression
Source§impl Serialize for AstExpression
impl Serialize for AstExpression
impl StructuralPartialEq for AstExpression
Auto Trait Implementations§
impl Freeze for AstExpression
impl RefUnwindSafe for AstExpression
impl Send for AstExpression
impl Sync for AstExpression
impl Unpin for AstExpression
impl UnsafeUnpin for AstExpression
impl UnwindSafe for AstExpression
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