Struct scilla_parser::ast::nodes::NodeContractTypeArguments
source · pub struct NodeContractTypeArguments {
pub type_arguments: Vec<WithMetaData<NodeTypeArgument>>,
}Expand description
NodeContractTypeArguments represents a contract type arguments node in the AST It contains a vector of type arguments
Fields§
§type_arguments: Vec<WithMetaData<NodeTypeArgument>>The type arguments of the contract
Trait Implementations§
source§impl AstVisitor for NodeContractTypeArguments
impl AstVisitor for NodeContractTypeArguments
fn visit( &self, emitter: &mut dyn AstConverting ) -> Result<TraversalResult, String>
source§impl Clone for NodeContractTypeArguments
impl Clone for NodeContractTypeArguments
source§fn clone(&self) -> NodeContractTypeArguments
fn clone(&self) -> NodeContractTypeArguments
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 NodeContractTypeArguments
impl Debug for NodeContractTypeArguments
source§impl PartialEq for NodeContractTypeArguments
impl PartialEq for NodeContractTypeArguments
source§fn eq(&self, other: &NodeContractTypeArguments) -> bool
fn eq(&self, other: &NodeContractTypeArguments) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd for NodeContractTypeArguments
impl PartialOrd for NodeContractTypeArguments
source§fn partial_cmp(&self, other: &NodeContractTypeArguments) -> Option<Ordering>
fn partial_cmp(&self, other: &NodeContractTypeArguments) -> 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 NodeContractTypeArguments
impl StructuralEq for NodeContractTypeArguments
impl StructuralPartialEq for NodeContractTypeArguments
Auto Trait Implementations§
impl RefUnwindSafe for NodeContractTypeArguments
impl Send for NodeContractTypeArguments
impl Sync for NodeContractTypeArguments
impl Unpin for NodeContractTypeArguments
impl UnwindSafe for NodeContractTypeArguments
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