pub struct RuleCstNode { /* private fields */ }Implementations§
Source§impl RuleCstNode
impl RuleCstNode
pub const KIND: SyntaxKind = SyntaxKind::Rule
Trait Implementations§
Source§impl Clone for RuleCstNode
impl Clone for RuleCstNode
Source§fn clone(&self) -> RuleCstNode
fn clone(&self) -> RuleCstNode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RuleCstNode
impl Debug for RuleCstNode
impl Eq for RuleCstNode
Source§impl PartialEq for RuleCstNode
impl PartialEq for RuleCstNode
Source§fn eq(&self, other: &RuleCstNode) -> bool
fn eq(&self, other: &RuleCstNode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for RuleCstNode
Source§impl TypedCstNode for RuleCstNode
impl TypedCstNode for RuleCstNode
fn cast(syntax: SyntaxNode<SyntaxKind>) -> Option<Self>
fn syntax(&self) -> &SyntaxNode<SyntaxKind>
fn into_syntax(self) -> SyntaxNode<SyntaxKind>
fn kind(&self) -> SyntaxKind
fn text_range(&self) -> TextRange
Auto Trait Implementations§
impl !RefUnwindSafe for RuleCstNode
impl !UnwindSafe for RuleCstNode
impl Freeze for RuleCstNode
impl Send for RuleCstNode
impl Sync for RuleCstNode
impl Unpin for RuleCstNode
impl UnsafeUnpin for RuleCstNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.