pub struct ImportList { /* private fields */ }Implementations§
Source§impl ImportList
impl ImportList
pub fn items(&self) -> impl Iterator<Item = ImportItem>
Trait Implementations§
Source§impl AstNode for ImportList
impl AstNode for ImportList
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 ImportList
impl Clone for ImportList
Source§fn clone(&self) -> ImportList
fn clone(&self) -> ImportList
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 ImportList
impl Debug for ImportList
Source§impl Display for ImportList
impl Display for ImportList
impl Eq for ImportList
Source§impl Hash for ImportList
impl Hash for ImportList
Source§impl PartialEq for ImportList
impl PartialEq for ImportList
impl StructuralPartialEq for ImportList
Auto Trait Implementations§
impl !RefUnwindSafe for ImportList
impl !Send for ImportList
impl !Sync for ImportList
impl !UnwindSafe for ImportList
impl Freeze for ImportList
impl Unpin for ImportList
impl UnsafeUnpin for ImportList
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