pub struct UseTree<'a> { /* private fields */ }
Implementations
sourceimpl<'a> UseTree<'a>
impl<'a> UseTree<'a>
pub fn path(self) -> Option<Path<'a>>
pub fn use_tree_list(self) -> Option<UseTreeList<'a>>
Trait Implementations
sourceimpl<'a> AstNode<'a> for UseTree<'a>
impl<'a> AstNode<'a> for UseTree<'a>
fn cast(syntax: SyntaxNodeRef<'a>) -> Option<Self>
fn syntax(self) -> SyntaxNodeRef<'a>
sourceimpl<'a> From<UseTree<'a>> for UseTreeNode
impl<'a> From<UseTree<'a>> for UseTreeNode
sourcefn from(ast: UseTree<'a>) -> UseTreeNode
fn from(ast: UseTree<'a>) -> UseTreeNode
Converts to this type from the input type.
impl<'a> Copy for UseTree<'a>
Auto Trait Implementations
impl<'a> !RefUnwindSafe for UseTree<'a>
impl<'a> Send for UseTree<'a>
impl<'a> Sync for UseTree<'a>
impl<'a> Unpin for UseTree<'a>
impl<'a> !UnwindSafe for UseTree<'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