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