pub struct DeclarationCstNode { /* private fields */ }Implementations§
Source§impl DeclarationCstNode
impl DeclarationCstNode
pub const KIND: SyntaxKind = SyntaxKind::Declaration
Trait Implementations§
Source§impl Clone for DeclarationCstNode
impl Clone for DeclarationCstNode
Source§fn clone(&self) -> DeclarationCstNode
fn clone(&self) -> DeclarationCstNode
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 DeclarationCstNode
impl Debug for DeclarationCstNode
Source§impl PartialEq for DeclarationCstNode
impl PartialEq for DeclarationCstNode
Source§fn eq(&self, other: &DeclarationCstNode) -> bool
fn eq(&self, other: &DeclarationCstNode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TypedCstNode for DeclarationCstNode
impl TypedCstNode for DeclarationCstNode
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
impl Eq for DeclarationCstNode
impl StructuralPartialEq for DeclarationCstNode
Auto Trait Implementations§
impl Freeze for DeclarationCstNode
impl !RefUnwindSafe for DeclarationCstNode
impl Send for DeclarationCstNode
impl Sync for DeclarationCstNode
impl Unpin for DeclarationCstNode
impl UnsafeUnpin for DeclarationCstNode
impl !UnwindSafe for DeclarationCstNode
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.