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