Struct valkyrie_ast::OutputNode
source · pub struct OutputNode {
pub count: isize,
pub span: Range<u32>,
}Expand description
%1, %%1, the number of the reference
Fields§
§count: isize- positive number indicates the nth one
- negative number indicates the nth one from the last
span: Range<u32>The range of the node
Trait Implementations§
source§impl Clone for OutputNode
impl Clone for OutputNode
source§fn clone(&self) -> OutputNode
fn clone(&self) -> OutputNode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for OutputNode
impl Debug for OutputNode
source§impl Display for OutputNode
impl Display for OutputNode
source§impl From<OutputNode> for ExpressionKind
impl From<OutputNode> for ExpressionKind
source§fn from(o: OutputNode) -> Self
fn from(o: OutputNode) -> Self
Converts to this type from the input type.
source§impl Hash for OutputNode
impl Hash for OutputNode
source§impl PartialEq for OutputNode
impl PartialEq for OutputNode
source§fn eq(&self, other: &OutputNode) -> bool
fn eq(&self, other: &OutputNode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl ValkyrieNode for OutputNode
impl ValkyrieNode for OutputNode
impl Eq for OutputNode
impl StructuralPartialEq for OutputNode
Auto Trait Implementations§
impl RefUnwindSafe for OutputNode
impl Send for OutputNode
impl Sync for OutputNode
impl Unpin for OutputNode
impl UnwindSafe for OutputNode
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