pub struct TupleExpression {
pub argument_types: Option<Vec<TypeDescriptions>>,
pub components: Vec<Option<Expression>>,
pub id: i64,
pub is_constant: bool,
pub is_inline_array: bool,
pub is_l_value: bool,
pub is_pure: bool,
pub l_value_requested: bool,
pub node_type: TupleExpressionNodeType,
pub src: SourceLocation,
pub type_descriptions: TypeDescriptions,
}
Expand description
TupleExpression
JSON schema
{
"type": "object",
"required": [
"components",
"id",
"isConstant",
"isInlineArray",
"isLValue",
"isPure",
"lValueRequested",
"nodeType",
"src",
"typeDescriptions"
],
"properties": {
"argumentTypes": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/TypeDescriptions"
}
},
{
"type": "null"
}
]
},
"components": {
"type": "array",
"items": {
"anyOf": [
{
"$ref": "#/definitions/Expression"
},
{
"type": "null"
}
]
}
},
"id": {
"type": "integer"
},
"isConstant": {
"type": "boolean"
},
"isInlineArray": {
"type": "boolean"
},
"isLValue": {
"type": "boolean"
},
"isPure": {
"type": "boolean"
},
"lValueRequested": {
"type": "boolean"
},
"nodeType": {
"enum": [
"TupleExpression"
]
},
"src": {
"$ref": "#/definitions/SourceLocation"
},
"typeDescriptions": {
"$ref": "#/definitions/TypeDescriptions"
}
},
"additionalProperties": false
}
Fields§
§argument_types: Option<Vec<TypeDescriptions>>
§components: Vec<Option<Expression>>
§id: i64
§is_constant: bool
§is_inline_array: bool
§is_l_value: bool
§is_pure: bool
§l_value_requested: bool
§node_type: TupleExpressionNodeType
§src: SourceLocation
§type_descriptions: TypeDescriptions
Trait Implementations§
Source§impl Clone for TupleExpression
impl Clone for TupleExpression
Source§fn clone(&self) -> TupleExpression
fn clone(&self) -> TupleExpression
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 TupleExpression
impl Debug for TupleExpression
Source§impl<'de> Deserialize<'de> for TupleExpression
impl<'de> Deserialize<'de> for TupleExpression
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 From<&TupleExpression> for TupleExpression
impl From<&TupleExpression> for TupleExpression
Source§fn from(value: &TupleExpression) -> Self
fn from(value: &TupleExpression) -> Self
Converts to this type from the input type.
Source§impl From<TupleExpression> for Expression
impl From<TupleExpression> for Expression
Source§fn from(value: TupleExpression) -> Self
fn from(value: TupleExpression) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TupleExpression
impl RefUnwindSafe for TupleExpression
impl Send for TupleExpression
impl Sync for TupleExpression
impl Unpin for TupleExpression
impl UnwindSafe for TupleExpression
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