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