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 (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 IndexedCapture
impl Debug for IndexedCapture
Source§impl Hash for IndexedCapture
impl Hash for IndexedCapture
Source§impl PartialEq for IndexedCapture
impl PartialEq for IndexedCapture
Source§fn eq(&self, other: &IndexedCapture) -> bool
fn eq(&self, other: &IndexedCapture) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for IndexedCapture
impl StructuralPartialEq for IndexedCapture
Auto Trait Implementations§
impl Freeze for IndexedCapture
impl RefUnwindSafe for IndexedCapture
impl Send for IndexedCapture
impl Sync for IndexedCapture
impl Unpin for IndexedCapture
impl UnsafeUnpin 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