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§fn clone(&self) -> CaptureMap
fn clone(&self) -> CaptureMap
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 moreSource§impl Debug for CaptureMap
impl Debug for CaptureMap
Source§impl Default for CaptureMap
impl Default for CaptureMap
Source§fn default() -> CaptureMap
fn default() -> CaptureMap
Returns the “default value” for a type. Read more
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