pub struct CaptureDetails {
pub start_position: Point,
pub end_position: Point,
pub value: String,
}Expand description
TreeSitter queries saves every capture as CaptureDetails.
Fields§
§start_position: Point§end_position: Point§value: StringTrait Implementations§
Source§impl Clone for CaptureDetails
impl Clone for CaptureDetails
Source§fn clone(&self) -> CaptureDetails
fn clone(&self) -> CaptureDetails
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CaptureDetails
impl RefUnwindSafe for CaptureDetails
impl Send for CaptureDetails
impl Sync for CaptureDetails
impl Unpin for CaptureDetails
impl UnsafeUnpin for CaptureDetails
impl UnwindSafe for CaptureDetails
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