pub struct Loop<'a> {
pub ws1: Ws,
pub var: Target<'a>,
pub iter: Expr<'a>,
pub cond: Option<Expr<'a>>,
pub body: Vec<Node<'a>>,
pub ws2: Ws,
pub else_nodes: Vec<Node<'a>>,
pub ws3: Ws,
}
Fields§
§ws1: Ws
§var: Target<'a>
§iter: Expr<'a>
§cond: Option<Expr<'a>>
§body: Vec<Node<'a>>
§ws2: Ws
§else_nodes: Vec<Node<'a>>
§ws3: Ws
Trait Implementations§
impl<'a> StructuralPartialEq for Loop<'a>
Auto Trait Implementations§
impl<'a> Freeze for Loop<'a>
impl<'a> RefUnwindSafe for Loop<'a>
impl<'a> Send for Loop<'a>
impl<'a> Sync for Loop<'a>
impl<'a> Unpin for Loop<'a>
impl<'a> UnwindSafe for Loop<'a>
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