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