pub struct ParserByteSpanV0 {
pub start: usize,
pub end: usize,
}Fields§
§start: usize§end: usizeTrait Implementations§
Source§impl Clone for ParserByteSpanV0
impl Clone for ParserByteSpanV0
Source§fn clone(&self) -> ParserByteSpanV0
fn clone(&self) -> ParserByteSpanV0
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 ParserByteSpanV0
impl Debug for ParserByteSpanV0
Source§impl From<TextSpan> for ParserByteSpanV0
impl From<TextSpan> for ParserByteSpanV0
Source§impl Ord for ParserByteSpanV0
impl Ord for ParserByteSpanV0
Source§fn cmp(&self, other: &ParserByteSpanV0) -> Ordering
fn cmp(&self, other: &ParserByteSpanV0) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ParserByteSpanV0
impl PartialEq for ParserByteSpanV0
Source§fn eq(&self, other: &ParserByteSpanV0) -> bool
fn eq(&self, other: &ParserByteSpanV0) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ParserByteSpanV0
impl PartialOrd for ParserByteSpanV0
Source§impl Serialize for ParserByteSpanV0
impl Serialize for ParserByteSpanV0
impl Copy for ParserByteSpanV0
impl Eq for ParserByteSpanV0
impl StructuralPartialEq for ParserByteSpanV0
Auto Trait Implementations§
impl Freeze for ParserByteSpanV0
impl RefUnwindSafe for ParserByteSpanV0
impl Send for ParserByteSpanV0
impl Sync for ParserByteSpanV0
impl Unpin for ParserByteSpanV0
impl UnsafeUnpin for ParserByteSpanV0
impl UnwindSafe for ParserByteSpanV0
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