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
Source§fn clone(&self) -> StructuralSpan
fn clone(&self) -> StructuralSpan
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 moreimpl 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
Source§fn cmp(&self, other: &StructuralSpan) -> Ordering
fn cmp(&self, other: &StructuralSpan) -> 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 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