pub struct Capture {
pub index: u32,
pub node: Node,
}Expand description
One captured node and its query capture index.
Fields§
§index: u32Index into Query::capture_names.
node: NodeNode metadata owned by the highlighting engine.
Trait Implementations§
Auto Trait Implementations§
impl Forget for Capture
impl Freeze for Capture
impl Move for Capture
impl RefUnwindSafe for Capture
impl Send for Capture
impl Sync for Capture
impl Unpin for Capture
impl UnsafeUnpin for Capture
impl UnwindSafe for Capture
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