Struct valkyrie_parser::JumpLabelNode
source · pub struct JumpLabelNode {
pub identifier: Option<IdentifierNode>,
pub span: Range<u32>,
}
Fields§
§identifier: Option<IdentifierNode>
§span: Range<u32>
Trait Implementations§
source§impl Clone for JumpLabelNode
impl Clone for JumpLabelNode
source§fn clone(&self) -> JumpLabelNode
fn clone(&self) -> JumpLabelNode
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 JumpLabelNode
impl Debug for JumpLabelNode
source§impl FromStr for JumpLabelNode
impl FromStr for JumpLabelNode
§type Err = YggdrasilError<ValkyrieRule>
type Err = YggdrasilError<ValkyrieRule>
The associated error which can be returned from parsing.
source§fn from_str(input: &str) -> Result<Self, YggdrasilError<ValkyrieRule>>
fn from_str(input: &str) -> Result<Self, YggdrasilError<ValkyrieRule>>
Parses a string
s
to return a value of this type. Read moresource§impl Hash for JumpLabelNode
impl Hash for JumpLabelNode
source§impl YggdrasilNode for JumpLabelNode
impl YggdrasilNode for JumpLabelNode
Auto Trait Implementations§
impl RefUnwindSafe for JumpLabelNode
impl Send for JumpLabelNode
impl Sync for JumpLabelNode
impl Unpin for JumpLabelNode
impl UnwindSafe for JumpLabelNode
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