#[repr(C)]pub struct NodeSymbol {
pub id: u16,
pub name: StringId,
}Expand description
Maps tree-sitter NodeTypeId to its string name.
Fields§
§id: u16Tree-sitter node type ID
name: StringIdStringId for the node kind name
Implementations§
Trait Implementations§
Source§impl Clone for NodeSymbol
impl Clone for NodeSymbol
Source§fn clone(&self) -> NodeSymbol
fn clone(&self) -> NodeSymbol
Returns a duplicate of the value. Read more
1.0.0 · 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 NodeSymbol
impl Debug for NodeSymbol
impl Copy for NodeSymbol
Auto Trait Implementations§
impl Freeze for NodeSymbol
impl RefUnwindSafe for NodeSymbol
impl Send for NodeSymbol
impl Sync for NodeSymbol
impl Unpin for NodeSymbol
impl UnwindSafe for NodeSymbol
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