pub struct IndexedCapture {
pub index: usize,
pub cap: Range<usize>,
}Fields§
§index: usize§cap: Range<usize>Trait Implementations§
Source§impl Clone for IndexedCapture
impl Clone for IndexedCapture
Source§fn clone(&self) -> IndexedCapture
fn clone(&self) -> IndexedCapture
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for IndexedCapture
impl RefUnwindSafe for IndexedCapture
impl Send for IndexedCapture
impl Sync for IndexedCapture
impl Unpin for IndexedCapture
impl UnwindSafe for IndexedCapture
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