pub struct ForLoop {
pub init: ForInit,
pub body: Vec<Statement>,
pub is_async: bool,
}Fields§
§init: ForInitLoop variable or initialization
body: Vec<Statement>Loop body
is_async: boolWhether this is an async for-await: for await x in stream { ... }
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ForLoop
impl<'de> Deserialize<'de> for ForLoop
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
impl StructuralPartialEq for ForLoop
Auto Trait Implementations§
impl Freeze for ForLoop
impl RefUnwindSafe for ForLoop
impl Send for ForLoop
impl Sync for ForLoop
impl Unpin for ForLoop
impl UnsafeUnpin for ForLoop
impl UnwindSafe for ForLoop
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