pub struct CaptureMap { /* private fields */ }Expand description
Flat map of tree-sitter capture names to resolved StyleSpec values.
Use resolve for fallback-chain lookup; get for exact-match only.
Implementations§
Trait Implementations§
Source§impl Clone for CaptureMap
impl Clone for CaptureMap
Source§impl Debug for CaptureMap
impl Debug for CaptureMap
Auto Trait Implementations§
impl Freeze for CaptureMap
impl RefUnwindSafe for CaptureMap
impl Send for CaptureMap
impl Sync for CaptureMap
impl Unpin for CaptureMap
impl UnsafeUnpin for CaptureMap
impl UnwindSafe for CaptureMap
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