Struct valkyrie_parser::BarePatternItemNode
source · pub struct BarePatternItemNode {
pub identifier: IdentifierNode,
pub modifier_ahead: Vec<ModifierAheadNode>,
pub span: Range<u32>,
}
Fields§
§identifier: IdentifierNode
§modifier_ahead: Vec<ModifierAheadNode>
§span: Range<u32>
Trait Implementations§
source§impl Clone for BarePatternItemNode
impl Clone for BarePatternItemNode
source§fn clone(&self) -> BarePatternItemNode
fn clone(&self) -> BarePatternItemNode
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 BarePatternItemNode
impl Debug for BarePatternItemNode
source§impl FromStr for BarePatternItemNode
impl FromStr for BarePatternItemNode
§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 BarePatternItemNode
impl Hash for BarePatternItemNode
source§impl YggdrasilNode for BarePatternItemNode
impl YggdrasilNode for BarePatternItemNode
Auto Trait Implementations§
impl RefUnwindSafe for BarePatternItemNode
impl Send for BarePatternItemNode
impl Sync for BarePatternItemNode
impl Unpin for BarePatternItemNode
impl UnwindSafe for BarePatternItemNode
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