pub struct MarkdownSourceRange {
pub start: usize,
pub end: usize,
}Expand description
A half-open byte range in the exact Markdown source bound to a resolution.
Fields§
§start: usize§end: usizeImplementations§
Trait Implementations§
Source§impl Clone for MarkdownSourceRange
impl Clone for MarkdownSourceRange
impl Copy for MarkdownSourceRange
Source§impl Debug for MarkdownSourceRange
impl Debug for MarkdownSourceRange
impl Eq for MarkdownSourceRange
Source§impl Ord for MarkdownSourceRange
impl Ord for MarkdownSourceRange
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 MarkdownSourceRange
impl PartialEq for MarkdownSourceRange
Source§impl PartialOrd for MarkdownSourceRange
impl PartialOrd for MarkdownSourceRange
Source§impl Serialize for MarkdownSourceRange
impl Serialize for MarkdownSourceRange
impl StructuralPartialEq for MarkdownSourceRange
Auto Trait Implementations§
impl Freeze for MarkdownSourceRange
impl RefUnwindSafe for MarkdownSourceRange
impl Send for MarkdownSourceRange
impl Sync for MarkdownSourceRange
impl Unpin for MarkdownSourceRange
impl UnsafeUnpin for MarkdownSourceRange
impl UnwindSafe for MarkdownSourceRange
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