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