pub struct ByteSpan {
pub start: usize,
pub end: usize,
}Expand description
Byte offset range into the original input string.
Fields§
§start: usize§end: usizeTrait Implementations§
impl Copy for ByteSpan
impl Eq for ByteSpan
impl StructuralPartialEq for ByteSpan
Auto Trait Implementations§
impl Freeze for ByteSpan
impl RefUnwindSafe for ByteSpan
impl Send for ByteSpan
impl Sync for ByteSpan
impl Unpin for ByteSpan
impl UnsafeUnpin for ByteSpan
impl UnwindSafe for ByteSpan
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