pub struct VarOrTerm { /* private fields */ }Implementations§
Trait Implementations§
Source§impl AstNode for VarOrTerm
impl AstNode for VarOrTerm
fn kind() -> SyntaxKind
fn cast(syntax: SyntaxNode) -> Option<Self>
fn syntax(&self) -> &SyntaxNode
fn can_cast(kind: SyntaxKind) -> bool
fn has_error(&self) -> bool
fn collect_decendants( &self, matcher: &impl Fn(SyntaxKind) -> bool, ) -> Vec<SyntaxNode> ⓘ
fn preorder_find_kind(&self, kind: SyntaxKind) -> Vec<SyntaxNode> ⓘ
fn used_prefixes(&self) -> Vec<String>
fn text(&self) -> String
Auto Trait Implementations§
impl Freeze for VarOrTerm
impl !RefUnwindSafe for VarOrTerm
impl !Send for VarOrTerm
impl !Sync for VarOrTerm
impl Unpin for VarOrTerm
impl !UnwindSafe for VarOrTerm
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