pub struct ExplicitIterator {
    pub dollar: Dollar,
    pub id_token: TokInteger,
    pub id: u8,
    pub left_paren: LParen,
    pub exprs: Punctuated<Expression<false>, Comma>,
    pub right_paren: RParen,
}Expand description
$id(a, b, ...) - an explicit iterator with an id.
Fields§
§dollar: Dollar§id_token: TokInteger§id: u8§left_paren: LParen§exprs: Punctuated<Expression<false>, Comma>§right_paren: RParenImplementations§
source§impl ExplicitIterator
 
impl ExplicitIterator
sourcepub fn get(&self, index: usize) -> Option<&Expression<false>>
 
pub fn get(&self, index: usize) -> Option<&Expression<false>>
Get the expression at given index.
Trait Implementations§
source§impl Debug for ExplicitIterator
 
impl Debug for ExplicitIterator
source§impl From<&ExplicitIterator> for IterTree
 
impl From<&ExplicitIterator> for IterTree
source§fn from(value: &ExplicitIterator) -> Self
 
fn from(value: &ExplicitIterator) -> Self
Converts to this type from the input type.
source§impl Parse for ExplicitIterator
 
impl Parse for ExplicitIterator
Auto Trait Implementations§
impl Freeze for ExplicitIterator
impl RefUnwindSafe for ExplicitIterator
impl Send for ExplicitIterator
impl Sync for ExplicitIterator
impl Unpin for ExplicitIterator
impl UnwindSafe for ExplicitIterator
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
source§impl<T> CheckParses for Twhere
    T: Parse,
 
impl<T> CheckParses for Twhere
    T: Parse,
source§fn check_parses<'t, I>(input: &InputStream<'t, I>) -> Option<bool>
 
fn check_parses<'t, I>(input: &InputStream<'t, I>) -> Option<bool>
Check if 
Self would parse given the tokens.source§impl<T> Convert for T
 
impl<T> Convert for T
source§fn convert<U>(self, context: &CompileContext) -> Expr<U>where
    U: ConvertFrom<T>,
 
fn convert<U>(self, context: &CompileContext) -> Expr<U>where
    U: ConvertFrom<T>,
Convert 
self into a specific type. Read moresource§fn can_convert<U>(&self) -> boolwhere
    U: ConvertFrom<T>,
 
fn can_convert<U>(&self) -> boolwhere
    U: ConvertFrom<T>,
Check if 
self can be converted into a specific type. Read more