pub struct GeneralId(/* private fields */);Expand description
A possibly qualified name.
Implementations§
Trait Implementations§
Source§impl AstNode for GeneralId
impl AstNode for GeneralId
Source§fn can_cast(kind: SyntaxKind) -> bool
fn can_cast(kind: SyntaxKind) -> bool
Whether nodes of
kind can be wrapped.Source§fn cast(node: SyntaxNode) -> Option<Self>
fn cast(node: SyntaxNode) -> Option<Self>
Wraps
node if it has the right kind.Source§fn syntax(&self) -> &SyntaxNode
fn syntax(&self) -> &SyntaxNode
The underlying node.
impl Eq for GeneralId
impl StructuralPartialEq for GeneralId
Auto Trait Implementations§
impl !RefUnwindSafe for GeneralId
impl !Send for GeneralId
impl !Sync for GeneralId
impl !UnwindSafe for GeneralId
impl Forget for GeneralId
impl Freeze for GeneralId
impl Move for GeneralId
impl Unpin for GeneralId
impl UnsafeUnpin for GeneralId
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