#[repr(C)]pub struct FieldSymbol {
pub id: u16,
pub name: StringId,
}Expand description
Maps tree-sitter NodeFieldId to its string name.
Fields§
§id: u16Tree-sitter field ID
name: StringIdStringId for the field name
Implementations§
Trait Implementations§
Source§impl Clone for FieldSymbol
impl Clone for FieldSymbol
Source§fn clone(&self) -> FieldSymbol
fn clone(&self) -> FieldSymbol
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 FieldSymbol
impl Debug for FieldSymbol
impl Copy for FieldSymbol
Auto Trait Implementations§
impl Freeze for FieldSymbol
impl RefUnwindSafe for FieldSymbol
impl Send for FieldSymbol
impl Sync for FieldSymbol
impl Unpin for FieldSymbol
impl UnwindSafe for FieldSymbol
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