Struct valkyrie_ast::LabelStatement
source · pub struct LabelStatement {
pub path: Vec<String>,
pub span: Range<u32>,
}Expand description
※label.context.1
Fields§
§path: Vec<String>The label path
span: Range<u32>The range of the node
Trait Implementations§
source§impl Clone for LabelStatement
impl Clone for LabelStatement
source§fn clone(&self) -> LabelStatement
fn clone(&self) -> LabelStatement
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 LabelStatement
impl Debug for LabelStatement
source§impl Display for LabelStatement
impl Display for LabelStatement
source§impl Hash for LabelStatement
impl Hash for LabelStatement
source§impl PartialEq for LabelStatement
impl PartialEq for LabelStatement
source§fn eq(&self, other: &LabelStatement) -> bool
fn eq(&self, other: &LabelStatement) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for LabelStatement
impl StructuralPartialEq for LabelStatement
Auto Trait Implementations§
impl RefUnwindSafe for LabelStatement
impl Send for LabelStatement
impl Sync for LabelStatement
impl Unpin for LabelStatement
impl UnwindSafe for LabelStatement
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