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