pub struct IterTree {
pub variants: Vec<IterNode>,
pub id: u8,
pub span: Span,
}
Expand description
Represents complicated iterator structures.
Fields§
§variants: Vec<IterNode>
§id: u8
§span: Span
Implementations§
Trait Implementations§
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 From<&ImplicitIterator> for IterTree
impl From<&ImplicitIterator> for IterTree
source§fn from(value: &ImplicitIterator) -> Self
fn from(value: &ImplicitIterator) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for IterTree
impl Send for IterTree
impl Sync for IterTree
impl Unpin for IterTree
impl UnwindSafe for IterTree
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> 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>,
Errors Read more
source§fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
fn can_convert<U>(&self) -> boolwhere
U: ConvertFrom<T>,
Errors Read more