pub struct Loop<'a> {
pub ws1: Ws,
pub var: Target<'a>,
pub iter: WithSpan<'a, Expr<'a>>,
pub cond: Option<WithSpan<'a, 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: WithSpan<'a, Expr<'a>>§cond: Option<WithSpan<'a, Expr<'a>>>§body: Vec<Node<'a>>§ws2: Ws§else_nodes: Vec<Node<'a>>§ws3: WsTrait 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