pub struct ItemList<'a> { /* private fields */ }
Trait Implementations
sourceimpl<'a> AstNode<'a> for ItemList<'a>
impl<'a> AstNode<'a> for ItemList<'a>
fn cast(syntax: SyntaxNodeRef<'a>) -> Option<Self>
fn syntax(self) -> SyntaxNodeRef<'a>
sourceimpl<'a> FnDefOwner<'a> for ItemList<'a>
impl<'a> FnDefOwner<'a> for ItemList<'a>
fn functions(self) -> AstChildren<'a, FnDef<'a>> ⓘ
sourceimpl<'a> From<ItemList<'a>> for ItemListNode
impl<'a> From<ItemList<'a>> for ItemListNode
sourcefn from(ast: ItemList<'a>) -> ItemListNode
fn from(ast: ItemList<'a>) -> ItemListNode
Converts to this type from the input type.
sourceimpl<'a> ModuleItemOwner<'a> for ItemList<'a>
impl<'a> ModuleItemOwner<'a> for ItemList<'a>
fn items(self) -> AstChildren<'a, ModuleItem<'a>> ⓘ
impl<'a> Copy for ItemList<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for ItemList<'a>
impl<'a> Send for ItemList<'a>
impl<'a> Sync for ItemList<'a>
impl<'a> Unpin for ItemList<'a>
impl<'a> !UnwindSafe for ItemList<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more