pub struct IterationRange {
pub in_keyword: Option<_InKeyword>,
pub iterated_collection: Option<Box<Expr>>,
pub from_keyword: Option<_FromKeyword>,
pub range_start: Option<Box<Expr>>,
pub to_keyword: Option<_ToKeyword>,
pub range_end: Option<Box<Expr>>,
}Fields§
§in_keyword: Option<_InKeyword>§iterated_collection: Option<Box<Expr>>§from_keyword: Option<_FromKeyword>§range_start: Option<Box<Expr>>§to_keyword: Option<_ToKeyword>§range_end: Option<Box<Expr>>Implementations§
Source§impl IterationRange
impl IterationRange
pub fn new( in_keyword: Option<_InKeyword>, iterated_collection: Option<Expr>, from_keyword: Option<_FromKeyword>, range_start: Option<Expr>, to_keyword: Option<_ToKeyword>, range_end: Option<Expr>, ) -> Self
Trait Implementations§
Source§impl Debug for IterationRange
impl Debug for IterationRange
Source§impl PrettyTree for IterationRange
impl PrettyTree for IterationRange
Source§fn pretty_tree(&self) -> PrettyNode
fn pretty_tree(&self) -> PrettyNode
Builds the presentation node for this syntax value.
Source§impl<N> Reconstruct<N> for IterationRangewhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for IterationRangewhere
N: ExternalCstNode,
fn matches(node: &N) -> bool
fn reconstruct(node: N) -> Result<Self, ReconstructError>
Source§impl ToTokens for IterationRange
impl ToTokens for IterationRange
Auto Trait Implementations§
impl Freeze for IterationRange
impl RefUnwindSafe for IterationRange
impl Send for IterationRange
impl Sync for IterationRange
impl Unpin for IterationRange
impl UnsafeUnpin for IterationRange
impl UnwindSafe for IterationRange
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