Enum tree_sitter::QueryPredicateArg
source · pub enum QueryPredicateArg {
Capture(u32),
String(Box<str>),
}
Variants§
Trait Implementations§
source§impl Debug for QueryPredicateArg
impl Debug for QueryPredicateArg
source§impl PartialEq<QueryPredicateArg> for QueryPredicateArg
impl PartialEq<QueryPredicateArg> for QueryPredicateArg
source§fn eq(&self, other: &QueryPredicateArg) -> bool
fn eq(&self, other: &QueryPredicateArg) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for QueryPredicateArg
impl StructuralEq for QueryPredicateArg
impl StructuralPartialEq for QueryPredicateArg
Auto Trait Implementations§
impl RefUnwindSafe for QueryPredicateArg
impl Send for QueryPredicateArg
impl Sync for QueryPredicateArg
impl Unpin for QueryPredicateArg
impl UnwindSafe for QueryPredicateArg
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