Struct valkyrie_parser::DefineMethodNode
source · pub struct DefineMethodNode {
pub annotation_mix: AnnotationMixNode,
pub continuation: Option<ContinuationNode>,
pub function_middle: FunctionMiddleNode,
pub namepath: NamepathNode,
pub span: Range<u32>,
}
Fields§
§annotation_mix: AnnotationMixNode
§continuation: Option<ContinuationNode>
§function_middle: FunctionMiddleNode
§namepath: NamepathNode
§span: Range<u32>
Trait Implementations§
source§impl Clone for DefineMethodNode
impl Clone for DefineMethodNode
source§fn clone(&self) -> DefineMethodNode
fn clone(&self) -> DefineMethodNode
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 DefineMethodNode
impl Debug for DefineMethodNode
source§impl FromStr for DefineMethodNode
impl FromStr for DefineMethodNode
§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 DefineMethodNode
impl Hash for DefineMethodNode
source§impl YggdrasilNode for DefineMethodNode
impl YggdrasilNode for DefineMethodNode
Auto Trait Implementations§
impl RefUnwindSafe for DefineMethodNode
impl Send for DefineMethodNode
impl Sync for DefineMethodNode
impl Unpin for DefineMethodNode
impl UnwindSafe for DefineMethodNode
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