pub struct ForStatement {
pub initializer: Node<ForInitializer>,
pub condition: Option<Box<Node<Expression>>>,
pub step: Option<Box<Node<Expression>>>,
pub statement: Box<Node<Statement>>,
}
Expand description
For statement
(C11 6.8.5)
Fields§
§initializer: Node<ForInitializer>
§condition: Option<Box<Node<Expression>>>
§step: Option<Box<Node<Expression>>>
§statement: Box<Node<Statement>>
Trait Implementations§
Source§impl Clone for ForStatement
impl Clone for ForStatement
Source§fn clone(&self) -> ForStatement
fn clone(&self) -> ForStatement
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 ForStatement
impl Debug for ForStatement
Source§impl PartialEq for ForStatement
impl PartialEq for ForStatement
impl StructuralPartialEq for ForStatement
Auto Trait Implementations§
impl Freeze for ForStatement
impl RefUnwindSafe for ForStatement
impl Send for ForStatement
impl Sync for ForStatement
impl Unpin for ForStatement
impl UnwindSafe for ForStatement
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