pub struct StrSpan<'input> {
    text: &'input str,
    start: usize,
}Expand description
A string slice.
Like &str, but also contains the position in the input XML
from which it was parsed.
Fields§
§text: &'input str§start: usizeImplementations§
Trait Implementations§
impl<'input> Copy for StrSpan<'input>
Auto Trait Implementations§
impl<'input> Freeze for StrSpan<'input>
impl<'input> RefUnwindSafe for StrSpan<'input>
impl<'input> Send for StrSpan<'input>
impl<'input> Sync for StrSpan<'input>
impl<'input> Unpin for StrSpan<'input>
impl<'input> UnwindSafe for StrSpan<'input>
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