Struct tree_sitter_cli::query_testing::CaptureInfo
source · pub struct CaptureInfo {
pub name: String,
pub start: Point,
pub end: Point,
}Fields§
§name: String§start: Point§end: PointTrait Implementations§
source§impl Debug for CaptureInfo
impl Debug for CaptureInfo
source§impl PartialEq for CaptureInfo
impl PartialEq for CaptureInfo
source§fn eq(&self, other: &CaptureInfo) -> bool
fn eq(&self, other: &CaptureInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for CaptureInfo
impl StructuralPartialEq for CaptureInfo
Auto Trait Implementations§
impl Freeze for CaptureInfo
impl RefUnwindSafe for CaptureInfo
impl Send for CaptureInfo
impl Sync for CaptureInfo
impl Unpin for CaptureInfo
impl UnwindSafe for CaptureInfo
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.