Struct ExprForLoop
struct ExprForLoop { ... }
A for loop: for pat in expr { ... }.
Fields
attrs: Vec<Attribute>label: Option<Label>for_token: Forpat: Box<Pat>in_token: Inexpr: Box<Expr>body: Block
Implementations
impl Clone for ExprForLoop
fn clone(self: &Self) -> Self
impl Debug for ExprForLoop
fn fmt(self: &Self, formatter: &mut Formatter<'_>) -> Result
impl Eq for ExprForLoop
impl Freeze for ExprForLoop
impl Hash for ExprForLoop
fn hash<H>(self: &Self, state: &mut H) where H: Hasher
impl Parse for ExprForLoop
fn parse(input: ParseStream<'_>) -> Result<Self>
impl PartialEq for ExprForLoop
fn eq(self: &Self, other: &Self) -> bool
impl RefUnwindSafe for ExprForLoop
impl Send for ExprForLoop
impl Sync for ExprForLoop
impl ToTokens for ExprForLoop
fn to_tokens(self: &Self, tokens: &mut TokenStream)
impl Unpin for ExprForLoop
impl UnsafeUnpin for ExprForLoop
impl UnwindSafe for ExprForLoop
impl<T> Any for ExprForLoop
fn type_id(self: &Self) -> TypeId
impl<T> Borrow for ExprForLoop
fn borrow(self: &Self) -> &T
impl<T> BorrowMut for ExprForLoop
fn borrow_mut(self: &mut Self) -> &mut T
impl<T> CloneToUninit for ExprForLoop
unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)
impl<T> From for ExprForLoop
fn from(t: T) -> TReturns the argument unchanged.
impl<T> Spanned for ExprForLoop
fn span(self: &Self) -> Span
impl<T> ToOwned for ExprForLoop
fn to_owned(self: &Self) -> Tfn clone_into(self: &Self, target: &mut T)
impl<T, U> Into for ExprForLoop
fn into(self: Self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom for ExprForLoop
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto for ExprForLoop
fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>