Struct tree_sitter::QueryPredicate
source · [−]pub struct QueryPredicate {
pub operator: Box<str>,
pub args: Vec<QueryPredicateArg>,
}
Expand description
A key-value pair associated with a particular pattern in a Query
.
Fields
operator: Box<str>
args: Vec<QueryPredicateArg>
Trait Implementations
sourceimpl Debug for QueryPredicate
impl Debug for QueryPredicate
sourceimpl PartialEq<QueryPredicate> for QueryPredicate
impl PartialEq<QueryPredicate> for QueryPredicate
sourcefn eq(&self, other: &QueryPredicate) -> bool
fn eq(&self, other: &QueryPredicate) -> bool
impl Eq for QueryPredicate
impl StructuralEq for QueryPredicate
impl StructuralPartialEq for QueryPredicate
Auto Trait Implementations
impl RefUnwindSafe for QueryPredicate
impl Send for QueryPredicate
impl Sync for QueryPredicate
impl Unpin for QueryPredicate
impl UnwindSafe for QueryPredicate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more