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