pub struct StructuralSpan {
pub start_utf8: u32,
pub end_utf8: u32,
pub start_utf16: u32,
pub end_utf16: u32,
pub coverage: SpanCoverage,
}Fields§
§start_utf8: u32§end_utf8: u32§start_utf16: u32§end_utf16: u32§coverage: SpanCoverageTrait Implementations§
Source§impl Clone for StructuralSpan
impl Clone for StructuralSpan
impl Copy for StructuralSpan
Source§impl Debug for StructuralSpan
impl Debug for StructuralSpan
impl Eq for StructuralSpan
Source§impl Ord for StructuralSpan
impl Ord for StructuralSpan
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for StructuralSpan
impl PartialEq for StructuralSpan
Source§impl PartialOrd for StructuralSpan
impl PartialOrd for StructuralSpan
impl StructuralPartialEq for StructuralSpan
Auto Trait Implementations§
impl Freeze for StructuralSpan
impl RefUnwindSafe for StructuralSpan
impl Send for StructuralSpan
impl Sync for StructuralSpan
impl Unpin for StructuralSpan
impl UnsafeUnpin for StructuralSpan
impl UnwindSafe for StructuralSpan
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