Struct js_regexp::CapturesList
source · pub struct CapturesList<'h, 'p> {
pub vec: Vec<Capture<'h, 'p>>,
}
Expand description
A list of Capture
s.
Fields§
§vec: Vec<Capture<'h, 'p>>
Implementations§
source§impl<'h, 'p> CapturesList<'h, 'p>
impl<'h, 'p> CapturesList<'h, 'p>
sourcepub fn get_named_captures_map(&self) -> HashMap<&str, &Capture<'h, 'p>>
pub fn get_named_captures_map(&self) -> HashMap<&str, &Capture<'h, 'p>>
Maps group names to captures from the inner Vec
Trait Implementations§
Auto Trait Implementations§
impl<'h, 'p> RefUnwindSafe for CapturesList<'h, 'p>
impl<'h, 'p> Send for CapturesList<'h, 'p>
impl<'h, 'p> Sync for CapturesList<'h, 'p>
impl<'h, 'p> Unpin for CapturesList<'h, 'p>
impl<'h, 'p> UnwindSafe for CapturesList<'h, 'p>
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