pub struct PathType { /* private fields */ }Expand description
A PathType node (family.ungram rule PathType).
Implementations§
Source§impl PathType
impl PathType
pub fn qualified_name(&self) -> Option<QualifiedName>
Trait Implementations§
Source§impl AstNode for PathType
impl AstNode for PathType
Source§fn cast(syntax: SyntaxNode) -> Option<Self>
fn cast(syntax: SyntaxNode) -> Option<Self>
Wraps
syntax if its kind matches this type; None otherwise.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
The underlying untyped node.
impl Eq for PathType
impl StructuralPartialEq for PathType
Auto Trait Implementations§
impl !RefUnwindSafe for PathType
impl !Send for PathType
impl !Sync for PathType
impl !UnwindSafe for PathType
impl Freeze for PathType
impl Unpin for PathType
impl UnsafeUnpin for PathType
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