Expand description
Expression
represents an Expr
together with its source span, if any.
Fields
expr: Expr
loc: Option<Box<Location>>
Implementations
sourceimpl Expression
impl Expression
Trait Implementations
sourceimpl Clone for Expression
impl Clone for Expression
sourcefn clone(&self) -> Expression
fn clone(&self) -> Expression
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for Expression
impl Debug for Expression
sourceimpl Display for Expression
impl Display for Expression
sourceimpl<E> From<E> for Expression where
Expr: From<E>,
impl<E> From<E> for Expression where
Expr: From<E>,
sourcefn from(expr: E) -> Expression
fn from(expr: E) -> Expression
Converts to this type from the input type.
sourceimpl Interpretable for Expression
impl Interpretable for Expression
sourceimpl PartialEq<Expression> for Expression
impl PartialEq<Expression> for Expression
sourceimpl TryFrom<Expression> for Program
impl TryFrom<Expression> for Program
type Error = ParseError
type Error = ParseError
The type returned in the event of a conversion error.
sourcefn try_from(expr: Expression) -> Result<Self, Self::Error>
fn try_from(expr: Expression) -> Result<Self, Self::Error>
Performs the conversion.
impl Eq for Expression
Auto Trait Implementations
impl RefUnwindSafe for Expression
impl !Send for Expression
impl !Sync for Expression
impl Unpin for Expression
impl UnwindSafe for Expression
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more