pub struct ForRestStatementData {
pub condition: Option<Condition>,
pub post_expr: Option<Box<Expr>>,
}
Expand description
For init statement.
Fields§
§condition: Option<Condition>
Loop condition
post_expr: Option<Box<Expr>>
Loop increment operation
Trait Implementations§
Source§impl Clone for ForRestStatementData
impl Clone for ForRestStatementData
Source§fn clone(&self) -> ForRestStatementData
fn clone(&self) -> ForRestStatementData
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 ForRestStatementData
impl Debug for ForRestStatementData
Source§impl<'de> Deserialize<'de> for ForRestStatementData
impl<'de> Deserialize<'de> for ForRestStatementData
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<Node<ForRestStatementData>> for ForRestStatementData
impl From<Node<ForRestStatementData>> for ForRestStatementData
Source§fn from(node: Node<ForRestStatementData>) -> Self
fn from(node: Node<ForRestStatementData>) -> Self
Converts to this type from the input type.
Source§impl NodeContent for ForRestStatementData
impl NodeContent for ForRestStatementData
Source§impl NodeContentDisplay for ForRestStatementData
impl NodeContentDisplay for ForRestStatementData
Source§impl PartialEq for ForRestStatementData
impl PartialEq for ForRestStatementData
Source§impl Serialize for ForRestStatementData
impl Serialize for ForRestStatementData
impl StructuralPartialEq for ForRestStatementData
Auto Trait Implementations§
impl Freeze for ForRestStatementData
impl RefUnwindSafe for ForRestStatementData
impl Send for ForRestStatementData
impl Sync for ForRestStatementData
impl Unpin for ForRestStatementData
impl UnwindSafe for ForRestStatementData
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