pub struct Captured {
pub key: String,
pub start: usize,
}Expand description
A key a shape captured, and the offset where the shape’s match began, which is where the key’s anchor goes.
Fields§
§key: StringThe key.
start: usizeThe start of the match.
Trait Implementations§
impl Eq for Captured
impl StructuralPartialEq for Captured
Auto Trait Implementations§
impl Freeze for Captured
impl RefUnwindSafe for Captured
impl Send for Captured
impl Sync for Captured
impl Unpin for Captured
impl UnsafeUnpin for Captured
impl UnwindSafe for Captured
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