pub struct PathItem(/* private fields */);
Implementations§
Source§impl PathItem
impl PathItem
pub fn name(&self) -> Option<SyntaxToken>
pub fn generic_args(&self) -> Option<GenericArgs>
Trait Implementations§
Source§impl AstNode for PathItem
impl AstNode for PathItem
fn cast(node: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
Auto Trait Implementations§
impl Freeze for PathItem
impl !RefUnwindSafe for PathItem
impl !Send for PathItem
impl !Sync for PathItem
impl Unpin for PathItem
impl !UnwindSafe for PathItem
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