pub enum DoWhileStatementBody {
Block(Block),
Statement(Statement),
}
Expand description
DoWhileStatementBody
JSON schema
{
"anyOf": [
{
"$ref": "#/definitions/Block"
},
{
"$ref": "#/definitions/Statement"
}
]
}
Variants§
Trait Implementations§
Source§impl Clone for DoWhileStatementBody
impl Clone for DoWhileStatementBody
Source§fn clone(&self) -> DoWhileStatementBody
fn clone(&self) -> DoWhileStatementBody
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 DoWhileStatementBody
impl Debug for DoWhileStatementBody
Source§impl<'de> Deserialize<'de> for DoWhileStatementBody
impl<'de> Deserialize<'de> for DoWhileStatementBody
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<&DoWhileStatementBody> for DoWhileStatementBody
impl From<&DoWhileStatementBody> for DoWhileStatementBody
Source§fn from(value: &DoWhileStatementBody) -> Self
fn from(value: &DoWhileStatementBody) -> Self
Converts to this type from the input type.
Source§impl From<Block> for DoWhileStatementBody
impl From<Block> for DoWhileStatementBody
Source§impl From<Statement> for DoWhileStatementBody
impl From<Statement> for DoWhileStatementBody
Auto Trait Implementations§
impl Freeze for DoWhileStatementBody
impl RefUnwindSafe for DoWhileStatementBody
impl Send for DoWhileStatementBody
impl Sync for DoWhileStatementBody
impl Unpin for DoWhileStatementBody
impl UnwindSafe for DoWhileStatementBody
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