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§impl PartialOrd for NodeTypeAnnotation
impl PartialOrd for NodeTypeAnnotation
impl Eq for NodeTypeAnnotation
impl StructuralPartialEq for NodeTypeAnnotation
Auto Trait Implementations§
impl Freeze for NodeTypeAnnotation
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