Struct valkyrie_ast::ImportAliasNode
source · pub struct ImportAliasNode {
pub path: Vec<IdentifierNode>,
pub item: ImportAliasItem,
pub alias: Option<ImportAliasItem>,
pub span: Range<u32>,
}Expand description
path as alias
Fields§
§path: Vec<IdentifierNode>The path of the import
item: ImportAliasItemThe item of the import
alias: Option<ImportAliasItem>The alias of the import
span: Range<u32>The range of the node
Trait Implementations§
source§impl Clone for ImportAliasNode
impl Clone for ImportAliasNode
source§fn clone(&self) -> ImportAliasNode
fn clone(&self) -> ImportAliasNode
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 ImportAliasNode
impl Debug for ImportAliasNode
source§impl From<ImportAliasNode> for ImportTermNode
impl From<ImportAliasNode> for ImportTermNode
source§fn from(o: ImportAliasNode) -> Self
fn from(o: ImportAliasNode) -> Self
Converts to this type from the input type.
source§impl Hash for ImportAliasNode
impl Hash for ImportAliasNode
source§impl PartialEq for ImportAliasNode
impl PartialEq for ImportAliasNode
source§fn eq(&self, other: &ImportAliasNode) -> bool
fn eq(&self, other: &ImportAliasNode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl ValkyrieNode for ImportAliasNode
impl ValkyrieNode for ImportAliasNode
impl Eq for ImportAliasNode
impl StructuralPartialEq for ImportAliasNode
Auto Trait Implementations§
impl RefUnwindSafe for ImportAliasNode
impl Send for ImportAliasNode
impl Sync for ImportAliasNode
impl Unpin for ImportAliasNode
impl UnwindSafe for ImportAliasNode
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