Struct valkyrie_ast::RangeNode
source · pub struct RangeNode {
pub kind: RangeKind,
pub terms: Vec<RangeTermNode>,
pub span: Range<u32>,
}Expand description
[0, [], [:], [::]]
Fields§
§kind: RangeKindThe kind of tuple.
terms: Vec<RangeTermNode>Terms
span: Range<u32>The range of the number.
Implementations§
Trait Implementations§
source§impl From<RangeNode> for ExpressionKind
impl From<RangeNode> for ExpressionKind
source§impl PartialEq for RangeNode
impl PartialEq for RangeNode
source§impl ValkyrieNode for RangeNode
impl ValkyrieNode for RangeNode
impl Eq for RangeNode
impl StructuralPartialEq for RangeNode
Auto Trait Implementations§
impl RefUnwindSafe for RangeNode
impl Send for RangeNode
impl Sync for RangeNode
impl Unpin for RangeNode
impl UnwindSafe for RangeNode
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