pub struct MathDiagnostic {
pub kind: MathDiagnosticKind,
pub range: TextRange,
}Expand description
A structural problem found in a realized MATH_CONTENT subtree. The range
is host-aligned (the subtree is spliced into the host document tree), so a
consumer turns it straight into a diagnostic span with no remapping.
Fields§
§kind: MathDiagnosticKind§range: TextRangeTrait Implementations§
Source§impl Clone for MathDiagnostic
impl Clone for MathDiagnostic
Source§fn clone(&self) -> MathDiagnostic
fn clone(&self) -> MathDiagnostic
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 MathDiagnostic
Source§impl Debug for MathDiagnostic
impl Debug for MathDiagnostic
impl Eq for MathDiagnostic
Source§impl PartialEq for MathDiagnostic
impl PartialEq for MathDiagnostic
impl StructuralPartialEq for MathDiagnostic
Auto Trait Implementations§
impl Freeze for MathDiagnostic
impl RefUnwindSafe for MathDiagnostic
impl Send for MathDiagnostic
impl Sync for MathDiagnostic
impl Unpin for MathDiagnostic
impl UnsafeUnpin for MathDiagnostic
impl UnwindSafe for MathDiagnostic
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