Struct scilla_parser::ast::nodes::NodeParameterPair
source · pub struct NodeParameterPair {
pub identifier_with_type: WithMetaData<NodeTypedIdentifier>,
}Expand description
NodeParameterPair represents a parameter pair node in the AST It contains an identifier with type
Fields§
§identifier_with_type: WithMetaData<NodeTypedIdentifier>The identifier with type of the parameter pair
Trait Implementations§
source§impl AstVisitor for NodeParameterPair
impl AstVisitor for NodeParameterPair
fn visit( &self, emitter: &mut dyn AstConverting ) -> Result<TraversalResult, String>
source§impl Clone for NodeParameterPair
impl Clone for NodeParameterPair
source§fn clone(&self) -> NodeParameterPair
fn clone(&self) -> NodeParameterPair
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 NodeParameterPair
impl Debug for NodeParameterPair
source§impl PartialEq for NodeParameterPair
impl PartialEq for NodeParameterPair
source§fn eq(&self, other: &NodeParameterPair) -> bool
fn eq(&self, other: &NodeParameterPair) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for NodeParameterPair
impl PartialOrd for NodeParameterPair
source§fn partial_cmp(&self, other: &NodeParameterPair) -> Option<Ordering>
fn partial_cmp(&self, other: &NodeParameterPair) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Eq for NodeParameterPair
impl StructuralEq for NodeParameterPair
impl StructuralPartialEq for NodeParameterPair
Auto Trait Implementations§
impl RefUnwindSafe for NodeParameterPair
impl Send for NodeParameterPair
impl Sync for NodeParameterPair
impl Unpin for NodeParameterPair
impl UnwindSafe for NodeParameterPair
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