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: RParen
Implementations§
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