pub struct DoWhileStatement {
pub body: DoWhileStatementBody,
pub condition: Expression,
pub documentation: Option<String>,
pub id: i64,
pub node_type: DoWhileStatementNodeType,
pub src: SourceLocation,
}
Expand description
DoWhileStatement
JSON schema
{
"type": "object",
"required": [
"body",
"condition",
"id",
"nodeType",
"src"
],
"properties": {
"body": {
"anyOf": [
{
"$ref": "#/definitions/Block"
},
{
"$ref": "#/definitions/Statement"
}
]
},
"condition": {
"$ref": "#/definitions/Expression"
},
"documentation": {
"type": "string"
},
"id": {
"type": "integer"
},
"nodeType": {
"enum": [
"DoWhileStatement"
]
},
"src": {
"$ref": "#/definitions/SourceLocation"
}
},
"additionalProperties": false
}
Fields§
§body: DoWhileStatementBody
§condition: Expression
§documentation: Option<String>
§id: i64
§node_type: DoWhileStatementNodeType
§src: SourceLocation
Trait Implementations§
Source§impl Clone for DoWhileStatement
impl Clone for DoWhileStatement
Source§fn clone(&self) -> DoWhileStatement
fn clone(&self) -> DoWhileStatement
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 DoWhileStatement
impl Debug for DoWhileStatement
Source§impl<'de> Deserialize<'de> for DoWhileStatement
impl<'de> Deserialize<'de> for DoWhileStatement
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<&DoWhileStatement> for DoWhileStatement
impl From<&DoWhileStatement> for DoWhileStatement
Source§fn from(value: &DoWhileStatement) -> Self
fn from(value: &DoWhileStatement) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for DoWhileStatement
impl RefUnwindSafe for DoWhileStatement
impl Send for DoWhileStatement
impl Sync for DoWhileStatement
impl Unpin for DoWhileStatement
impl UnwindSafe for DoWhileStatement
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