pub struct ExpressionProjection {
pub parameter: String,
pub operand: Box<Expression>,
}
Expand description
Defines a type projection in eFLINT.
For example:
citizen.string
Fields§
§parameter: String
The identifier of the field to project onto the operand
.
Basically string
in:
citizen.string
operand: Box<Expression>
The expression evaluating to the instance on which to project the parameter
Basically citizen
in:
citizen.string
Trait Implementations§
Source§impl Clone for ExpressionProjection
impl Clone for ExpressionProjection
Source§fn clone(&self) -> ExpressionProjection
fn clone(&self) -> ExpressionProjection
Returns a copy 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 Debug for ExpressionProjection
impl Debug for ExpressionProjection
Source§impl<'de> Deserialize<'de> for ExpressionProjection
impl<'de> Deserialize<'de> for ExpressionProjection
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
Auto Trait Implementations§
impl Freeze for ExpressionProjection
impl RefUnwindSafe for ExpressionProjection
impl Send for ExpressionProjection
impl Sync for ExpressionProjection
impl Unpin for ExpressionProjection
impl UnwindSafe for ExpressionProjection
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