Enum syn_solidity::ImportPath 
source · pub enum ImportPath {
    Plain(ImportPlain),
    Aliases(ImportAliases),
    Glob(ImportGlob),
}Expand description
The path of an import directive.
Variants§
Plain(ImportPlain)
A plain import directive: import "foo.sol" as Foo;.
Aliases(ImportAliases)
A list of import aliases: import { Foo as Bar, Baz } from "foo.sol";.
Glob(ImportGlob)
A glob import directive: import * as Foo from "foo.sol";.
Implementations§
Trait Implementations§
source§impl Clone for ImportPath
 
impl Clone for ImportPath
source§fn clone(&self) -> ImportPath
 
fn clone(&self) -> ImportPath
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 ImportPath
 
impl Debug for ImportPath
source§impl Display for ImportPath
 
impl Display for ImportPath
source§impl Parse for ImportPath
 
impl Parse for ImportPath
fn parse(input: ParseStream<'_>) -> Result<Self>
source§impl Spanned for ImportPath
 
impl Spanned for ImportPath
source§fn span(&self) -> Span
 
fn span(&self) -> Span
Returns a 
Span covering the complete contents of this syntax tree
node, or Span::call_site() if this node is empty.Auto Trait Implementations§
impl RefUnwindSafe for ImportPath
impl !Send for ImportPath
impl !Sync for ImportPath
impl Unpin for ImportPath
impl UnwindSafe for ImportPath
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