Implement Copy for Node
This commit is contained in:
parent
494329c93b
commit
4a361fbb3f
1 changed files with 1 additions and 0 deletions
|
|
@ -77,6 +77,7 @@ pub struct PropertySheet<P: DeserializeOwned = HashMap<String, String>> {
|
|||
text_regexes: Vec<Regex>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy)]
|
||||
pub struct Node<'a>(ffi::TSNode, PhantomData<&'a ()>);
|
||||
|
||||
pub struct Parser(*mut ffi::TSParser);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue