pub struct IterRange {
pub lower_bound: Option<RangeBoundFrom>,
pub upper_bound: Option<RangeBoundTo>,
}Expand description
A typed Macaulay2 iter_range syntax node.
Fields§
§lower_bound: Option<RangeBoundFrom>The lower_bound child of this syntax node.
upper_bound: Option<RangeBoundTo>The upper_bound child of this syntax node.
Implementations§
Source§impl IterRange
impl IterRange
Sourcepub fn new(
lower_bound: Option<RangeBoundFrom>,
upper_bound: Option<RangeBoundTo>,
) -> Self
pub fn new( lower_bound: Option<RangeBoundFrom>, upper_bound: Option<RangeBoundTo>, ) -> Self
Creates this node from its typed children.
Trait Implementations§
Source§impl From<IterRange> for IterationDomain
impl From<IterRange> for IterationDomain
Source§impl Lex for IterRange
impl Lex for IterRange
Source§fn to_tokens(&self, output: &mut TokenStream)
fn to_tokens(&self, output: &mut TokenStream)
Appends this value’s token trees to
output.Source§fn to_token_stream(&self) -> TokenStream
fn to_token_stream(&self) -> TokenStream
Emits this value into a fresh token stream.
Source§impl PrettyTree for IterRange
impl PrettyTree for IterRange
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 IterRangewhere
N: ExternalCstNode,
impl<N> Reconstruct<N> for IterRangewhere
N: ExternalCstNode,
Auto Trait Implementations§
impl Freeze for IterRange
impl RefUnwindSafe for IterRange
impl Send for IterRange
impl Sync for IterRange
impl Unpin for IterRange
impl UnsafeUnpin for IterRange
impl UnwindSafe for IterRange
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