pub struct ImportItem { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AstNode for ImportItem
impl AstNode for ImportItem
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Returns
true if a node with the given kind can be cast to Self.Source§fn cast(node: SyntaxNode) -> Option<Self>
fn cast(node: SyntaxNode) -> Option<Self>
Try to cast a generic
SyntaxNode into this typed wrapper.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
Access the underlying
SyntaxNode.Source§impl Clone for ImportItem
impl Clone for ImportItem
Source§fn clone(&self) -> ImportItem
fn clone(&self) -> ImportItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ImportItem
impl Debug for ImportItem
Source§impl Display for ImportItem
impl Display for ImportItem
impl Eq for ImportItem
Source§impl Hash for ImportItem
impl Hash for ImportItem
Source§impl PartialEq for ImportItem
impl PartialEq for ImportItem
impl StructuralPartialEq for ImportItem
Auto Trait Implementations§
impl !RefUnwindSafe for ImportItem
impl !Send for ImportItem
impl !Sync for ImportItem
impl !UnwindSafe for ImportItem
impl Freeze for ImportItem
impl Unpin for ImportItem
impl UnsafeUnpin for ImportItem
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