pub struct MatchSpan {
pub start: usize,
pub end: usize,
}Expand description
A half-open span within a UTF-8 string.
Fields§
§start: usize§end: usizeTrait Implementations§
impl Eq for MatchSpan
impl StructuralPartialEq for MatchSpan
Auto Trait Implementations§
impl Freeze for MatchSpan
impl RefUnwindSafe for MatchSpan
impl Send for MatchSpan
impl Sync for MatchSpan
impl Unpin for MatchSpan
impl UnsafeUnpin for MatchSpan
impl UnwindSafe for MatchSpan
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